Open narendnp opened 3 weeks ago
I had the same problem(and successfully solved it), although I don't use conda. The solution took a few steps and it would help me if you sent a bit more error logs. Without more information, I suggest you try using a different version of python (3.10.0rc1 worked in my case) and maybe try using vanilla python
I had the same problem(and successfully solved it), although I don't use conda. The solution took a few steps and it would help me if you sent a bit more error logs. Without more information, I suggest you try using a different version of python (3.10.0rc1 worked in my case) and maybe try using vanilla python
I tried using Python 3.10.0rc1 (without conda, pip version is still the same) and this is the error I got instead:
Building wheels for collected packages: fairseq, ffmpy, antlr4-python3-runtime
Building wheel for fairseq (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for fairseq (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1423 lines of output]
C:\Users\Narend\AppData\Local\Temp\pip-build-env-cs9rp003\overlay\Lib\site-packages\setuptools\_distutils\dist.py:268: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\fairseq
...
...
copying fairseq\config\model\wav2vec2\wav2vec2_base.yaml -> build\lib.win-amd64-cpython-310\fairseq\config\model\wav2vec2
copying fairseq\config\model\wav2vec2\wav2vec2_large.yaml -> build\lib.win-amd64-cpython-310\fairseq\config\model\wav2vec2
running build_ext
building 'fairseq.libbleu' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fairseq
Building wheel for ffmpy (pyproject.toml) ... done
Created wheel for ffmpy: filename=ffmpy-0.3.1-py3-none-any.whl size=5600 sha256=58f7d30dd3b578d5476abc677d08f01fa69be369e22316b4c1f489c64d849757
Stored in directory: c:\users\narend\appdata\local\pip\cache\wheels\01\a6\d1\1c0828c304a4283b2c1639a09ad86f83d7c487ef34c6b4a1bf
Building wheel for antlr4-python3-runtime (pyproject.toml) ... done
Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.8-py3-none-any.whl size=141217 sha256=f65ccc739a61eeb1c1f80dac2ac6216a97e72f65aec3c0ef4f91e6638625da05
Stored in directory: c:\users\narend\appdata\local\pip\cache\wheels\a7\20\bd\e1477d664f22d99989fd28ee1a43d6633dddb5cb9e801350d5
Successfully built ffmpy antlr4-python3-runtime
Failed to build fairseq
ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects
It seems like the pyworld build error gone, but fairseq still fails.
I have the same problem and am running vanilla python, hoping for a solution.
Here's my env:
I also have checked #786 and made sure the requirement for pyworld is
pyworld==0.3.2
.