question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Installation in M1 venv fails

See original GitHub issue

Describe 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:20 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ghostcommented, Jul 11, 2022

Sure I’ll try that (Just so you know I hate python)

2reactions
erogolcommented, Jul 11, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found