Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIsing header file #9126

Open
1 task done
RandyLBryant opened this issue Sep 11, 2024 · 1 comment
Open
1 task done

MIsing header file #9126

RandyLBryant opened this issue Sep 11, 2024 · 1 comment
Labels
bug needs-info Issue is lacking sufficient information and will be closed if not provided

Comments

@RandyLBryant
Copy link

Describe the bug

I am trying to build and install sacad on Mac OS 11.6.8 using python 3.12.6 and I am getting the following error:

self.initialize_options()
aiohttp/_websocket.c:196:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~

To Reproduce

I am trying to build and install sacad on Mac OS 11.6.8 using python 3.12.6 and I am getting the following error:

self.initialize_options()
aiohttp/_websocket.c:196:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~

Expected behavior

Need missing header file to build without errors

Logs/tracebacks

self.initialize_options()
aiohttp/_websocket.c:196:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~~~~~~~~~

Python Version

$ python --version
3.12.6

aiohttp Version

$ python -m pip show aiohttp
Randys-MacBook-Pro:playcd randy$ python -m pip show aiohttp
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
  File "/usr/local/lib/Python3.11/site-packages/pip/__init__.py", line 6
    def main(args: Optional[List[str]] = None) -> int:
                 ^
SyntaxError: invalid syntax

multidict Version

$ python -m pip show multidict
Randys-MacBook-Pro:playcd randy$ python -m pip show multidict
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
  File "/usr/local/lib/Python3.11/site-packages/pip/__init__.py", line 6
    def main(args: Optional[List[str]] = None) -> int:
                 ^
SyntaxError: invalid syntax

yarl Version

$ python -m pip show yarl
Randys-MacBook-Pro:playcd randy$ $python -m pip show yarl
-bash: -m: command not found

OS

MAC OS

Related component

Client

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct
@Dreamsorcerer
Copy link
Member

File a report against sacad, they probably pin aiohttp to an old version for no apparent reason.

Also, fix you Python command first. In the same bug report you've said you're using 3.12 and shown logs that show you're running 2.7...

Maybe you need to use python3 on your machine..

@Dreamsorcerer Dreamsorcerer added the needs-info Issue is lacking sufficient information and will be closed if not provided label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-info Issue is lacking sufficient information and will be closed if not provided
Projects
None yet
Development

No branches or pull requests

2 participants