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

What python version should be used? #13

Open
mszczes opened this issue Oct 10, 2024 · 0 comments
Open

What python version should be used? #13

mszczes opened this issue Oct 10, 2024 · 0 comments

Comments

@mszczes
Copy link

mszczes commented Oct 10, 2024

I am having trouble installing packages!

my stderr:

(im2wav) D:\miszczes\python\im2wav>pip install -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu116
Collecting git+https://github.com/openai/CLIP.git (from -r requirements.txt (line 12))
Cloning https://github.com/openai/CLIP.git to c:\users\mszczesn\appdata\local\temp\pip-req-build-w709z4tz
Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git 'C:\Users\mszczesn\AppData\Local\Temp\pip-req-build-w709z4tz'
Resolved https://github.com/openai/CLIP.git to commit dcba3cb2e2827b402d2701e7e1c7d9fed8a20ef1
Preparing metadata (setup.py) ... done
Collecting absl-py==0.13.0 (from -r requirements.txt (line 1))
Using cached absl_py-0.13.0-py3-none-any.whl.metadata (2.4 kB)
Collecting antlr4-python3-runtime==4.8 (from -r requirements.txt (line 2))
Using cached antlr4-python3-runtime-4.8.tar.gz (112 kB)
Preparing metadata (setup.py) ... done
Collecting appdirs==1.4.4 (from -r requirements.txt (line 3))
Using cached appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting audioread==2.1.9 (from -r requirements.txt (line 4))
Using cached audioread-2.1.9.tar.gz (377 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\mszczesn\AppData\Local\Temp\pip-install-ybrpp615\audioread_dbaf2fdbf5a648e3b19dbd190dad3253\setup.py", line 17, in
import imp
ModuleNotFoundError: No module named 'imp'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

The import should be -> import importlib

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

No branches or pull requests

1 participant