[Bug] Installation in M1 venv fails
See original GitHub issueDescribe the bug
Installing tts in a python venv on macOS fails to install.
To Reproduce
mkdir ~/Desktop/tts
cd ~/Desktop/tts
python3 -m venv .
source ~/Desktop/tts/bin/activate
pip3 install setuptools wheel TTS --upgrade
Expected behavior
Successful installation.
Logs
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
### Environment
M1 Mac ARMx64, macOS 12.3.1, Python 3.9.12 (brew)
### Additional context
_No response_
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:20 (3 by maintainers)
Top Results From Across the Web
Failed to create a virtual environment on MacOS with M1 with ...
You are trying to create the virtualenv at /Users/test , to which (by default, and unless running as root) you don't have permissions....
Read more >How to install Tensorflow on the Apple M1 Notebook
python -m pip install tensorflow-macos. and it responded "ERROR: Could not find a version that satisfies the requirement tensorflow-macos (from versions: ...
Read more >Installation and Status — CFFI 1.15.1 documentation
This will compile and install CFFI in this virtualenv, using the Python from this virtualenv. NetBSD¶. You need to make sure you have...
Read more >Installing the development version of scikit-learn
check whether a bug you encountered has been fixed since the last release. ... python3 -m venv sklearn-env source sklearn-env/bin/activate pip install wheel ......
Read more >Setting up M1 Mac for both TensorFlow and PyTorch - De Novo
The reason I gave up installing PyTorch running natively on M1 is because it had an error that made the input layer of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure I’ll try that (Just so you know I hate python)
We officially only support Linux. Thus I close this issue but feel free to keep the conversation here.
Being said that… One of our deps (mecab) used for G2P in Japanese is not M1 compatible. Try manually installing TTS by removing it from the requirements.