ERROR: Cannot duplicate it anymore
#50
by
PhoenixStormJr
- opened
I can't duplicate the space. Causes an error. I think switching to Docker might fix it, but I'm having issues trying to program that.
What's the error?
When I duplicate it, I found the following error.
This error is empirically common with RVC. It means that omegaconf is not compatible with the latest pip. Add in requirements.txt with "git+https://huggingface.co/datasets/soiz1/omegaconf".
Please let me know if it works.
WARNING: Ignoring version 2.0.6 of omegaconf since it has invalid metadata:
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/d0/eb/9d63ce09dd8aa85767c65668d5414958ea29648a0eec80a4a7d311ec2684/omegaconf-2.0.6-py3-none-any.whl (from fairseq->-r /tmp/requirements.txt (line 9)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
PyYAML (>=5.1.*)
~~~~~~^
...
Requested omegaconf<2.1 from https://files.pythonhosted.org/packages/e5/f6/043b6d255dd6fbf2025110cea35b87f4c5100a181681d8eab496269f0d5b/omegaconf-2.0.5-py3-none-any.whl (from fairseq->-r /tmp/requirements.txt (line 9)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
PyYAML (>=5.1.*)
~~~~~~^
Please use pip<24.1 if you need to use this version.
INFO: pip is looking at multiple versions of hydra-core to determine which version is compatible with other requirements. This could take a while.
Collecting fairseq (from -r /tmp/requirements.txt (line 9))
Downloading fairseq-0.12.1.tar.gz (9.6 MB)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 9.6/9.6 MB 150.9 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
ร Getting requirements to build wheel did not run successfully.
โ exit code: 1
โฐโ> [16 lines of output]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
...
File "<string>", line 18, in write_version_py
FileNotFoundError: [Errno 2] No such file or directory: 'fairseq/version.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
ร Getting requirements to build wheel 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.
--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt" did not complete successfully: exit code: 1
IT WORKED!!! Thanks a lot, how about you make a public space to update it!? Please? (I don't wanna take credit for your work.)
How'd you even figure that out!? I mean, how did you know to use that link??:
PhoenixStormJr
changed discussion status to
closed
I just edited requirements/base.txt in omegaconf.
PyYAML>=5.1.* -> PyYAML>=5.1.0
Changes: https://huggingface.co/datasets/soiz1/omegaconf/commit/5ddebad2589b6c34fc8c47d8a31029a45181a546