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

Problems Installing with 3.11 #38

Open
fuzzygroup opened this issue Dec 23, 2022 · 2 comments
Open

Problems Installing with 3.11 #38

fuzzygroup opened this issue Dec 23, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@fuzzygroup
Copy link

Hi,

I love what you are doing but I hit issues with 3.9 on:

Building wheels for collected packages: pesq, shap
Building wheel for pesq (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/t1/8wysbvsx2h50nm_26pqnq2780000gn/T/pip-install-_0o0kg7n/pesq_574d32d341a945a6b6fad78be2b203af/setup.py", line 33, in
setup(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/init.py", line 152, in setup
_install_setup_requires(attrs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/init.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/dist.py", line 806, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/init.py", line 766, in resolve
dist = best[req.key] = env.best_match(
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/init.py", line 1051, in best_match
return self.obtain(req, installer)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/init.py", line 1063, in obtain
return installer(requirement)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/dist.py", line 877, in fetch_build_egg
return fetch_build_egg(self, req)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/installer.py", line 80, in fetch_build_egg
wheel.install_as_egg(dist_location)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/wheel.py", line 95, in install_as_egg
self._install_as_egg(destination_eggdir, zf)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/wheel.py", line 103, in _install_as_egg
self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/setuptools/wheel.py", line 124, in _convert_metadata
os.mkdir(destination_eggdir)
FileExistsError: [Errno 17] File exists: '/private/var/folders/t1/8wysbvsx2h50nm_26pqnq2780000gn/T/pip-install-_0o0kg7n/pesq_574d32d341a945a6b6fad78be2b203af/.eggs/numpy-1.24.0-py3.9-macosx-10.9-universal2.egg'

so I upgraded to 3.11 and hit:

❯ /usr/local/bin/pip3 install mayavoz
Collecting mayavoz
Using cached mayavoz-0.0.1-py2.py3-none-any.whl (38 kB)
Collecting boto3>=1.24.86
Using cached boto3-1.26.36-py3-none-any.whl (132 kB)
Collecting huggingface-hub>=0.10.0
Using cached huggingface_hub-0.11.1-py3-none-any.whl (182 kB)
Collecting hydra-core>=1.2.0
Using cached hydra_core-1.3.1-py3-none-any.whl (154 kB)
Collecting joblib>=1.2.0
Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting librosa>=0.9.2
Using cached librosa-0.9.2-py3-none-any.whl (214 kB)
Collecting mlflow>=1.28.0
Using cached mlflow-2.1.0-py3-none-any.whl (16.7 MB)
Collecting numpy>=1.23.3
Downloading numpy-1.24.0-cp311-cp311-macosx_11_0_arm64.whl (13.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 5.1 MB/s eta 0:00:00
Collecting pesq==0.0.4
Using cached pesq-0.0.4.tar.gz (38 kB)
Preparing metadata (setup.py) ... done
Collecting protobuf>=3.19.6
Using cached protobuf-4.21.12-cp37-abi3-macosx_10_9_universal2.whl (486 kB)
Collecting pystoi==0.3.3
Using cached pystoi-0.3.3.tar.gz (7.0 kB)
Preparing metadata (setup.py) ... done
Collecting pytest-lazy-fixture>=0.6.3
Using cached pytest_lazy_fixture-0.6.3-py3-none-any.whl (4.9 kB)
Collecting pytorch-lightning>=1.7.7
Using cached pytorch_lightning-1.8.6-py3-none-any.whl (800 kB)
Collecting scikit-learn>=1.1.2
Downloading scikit_learn-1.2.0-cp311-cp311-macosx_12_0_arm64.whl (8.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 5.8 MB/s eta 0:00:00
Collecting scipy>=1.9.1
Downloading scipy-1.9.3-cp311-cp311-macosx_12_0_arm64.whl (28.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.4/28.4 MB 6.5 MB/s eta 0:00:00
Collecting soundfile>=0.11.0
Using cached soundfile-0.11.0-py2.py3-none-macosx_10_9_arm64.macosx_11_0_arm64.whl (1.1 MB)
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.0rc1 Requires-Python >=3.7,<3.10; 1.7.0rc2 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10; 1.7.2 Requires-Python >=3.7,<3.11; 1.7.3 Requires-Python >=3.7,<3.11; 1.8.0 Requires-Python >=3.8,<3.11; 1.8.0rc1 Requires-Python >=3.8,<3.11; 1.8.0rc2 Requires-Python >=3.8,<3.11; 1.8.0rc3 Requires-Python >=3.8,<3.11; 1.8.0rc4 Requires-Python >=3.8,<3.11; 1.8.1 Requires-Python >=3.8,<3.11
ERROR: Could not find a version that satisfies the requirement torch>=1.12.1 (from mayavoz) (from versions: none)
ERROR: No matching distribution found for torch>=1.12.1

@fuzzygroup
Copy link
Author

I did switch back to python 3.10 and that worked so maybe the rule of thumb here is:

  • Not Python 3.11
  • Not Python 3.9
  • Use Python 3.10

(At least on OSX on an M1 mac)

@shahules786
Copy link
Owner

Hi @fuzzygroup , thanks for trying Mayavoz. I see there are some issues associated with OSX ( M1 chip). I will specify this in the documentation for now.

@shahules786 shahules786 added the bug Something isn't working label Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants