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

Code doesn;t even run. so many errors intalling pip #213

Open
thenaivekid opened this issue Jun 9, 2024 · 2 comments
Open

Code doesn;t even run. so many errors intalling pip #213

thenaivekid opened this issue Jun 9, 2024 · 2 comments

Comments

@thenaivekid
Copy link

Collecting Cython==0.29.21 (from -r requirements.txt (line 1))
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
Collecting librosa==0.8.0 (from -r requirements.txt (line 2))
Using cached librosa-0.8.0.tar.gz (183 kB)
Preparing metadata (setup.py) ... done
Collecting matplotlib==3.3.1 (from -r requirements.txt (line 3))
Using cached matplotlib-3.3.1.tar.gz (38.8 MB)
Preparing metadata (setup.py) ... done
Collecting numpy==1.18.5 (from -r requirements.txt (line 4))
Using cached numpy-1.18.5.zip (5.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (pyproject.toml) ... error
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.

@phigrey
Copy link

phigrey commented Jun 19, 2024

I have encountered the same error when using Colab, but not on my desktop.
In my case using Colab, after git clone, I have removed all the version information in requirements.txt, only leaving the package names.

@tusharhchauhan
Copy link

this code is working on pytorch 2.1 with latest libraries, which are :
torch = 2.1.2
unidecode = 1.3.8
tensorboard = 2.13
protobuff = 3.20
librosa = 0.10.1
phonemizer = 3.2.1
cython=3.0.10
install these dependencies and run.

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

3 participants