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

Python 3.12 installation fails #99

Open
kasium opened this issue Oct 11, 2023 · 1 comment · May be fixed by #101
Open

Python 3.12 installation fails #99

kasium opened this issue Oct 11, 2023 · 1 comment · May be fixed by #101

Comments

@kasium
Copy link

kasium commented Oct 11, 2023

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-btpgg84o/http-parser_a6c14b2ad3cd4d90a8e000168824cb8d/setup.py", line 12, in <module>
          from imp import load_source
      ModuleNotFoundError: No module named 'imp'
      [end of output]

imp is deprecated and was removed with 3.12

s-t-e-v-e-n-k added a commit to s-t-e-v-e-n-k/http-parser that referenced this issue Jan 11, 2024
The imp module has been deprecated and was removed in Python 3.12.
Switch to using importlib functions to load the module, rather than
imp.load_source().

Fixes benoitc#99
@s-t-e-v-e-n-k s-t-e-v-e-n-k linked a pull request Jan 11, 2024 that will close this issue
@add-n2x
Copy link

add-n2x commented Feb 23, 2024

Ran into this today. Currently not able to install http-parser anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants