Installing scipy: Preparing wheel metadata ... -error

See original GitHub issue
Python 3.7.1 (default, Dec 20 2019, 18:32:49) 
[Clang 11.0.0 (clang-1100.0.33.16)]

pip install --no-build-isolation wfdb scipy

Collecting wfdb
  Using cached wfdb-2.2.1.tar.gz (94 kB)
Collecting scipy
  Using cached scipy-1.4.1.tar.gz (24.6 MB)
    Preparing wheel metadata ... -error

ERROR: Command errored out with exit status 1:
     command: /var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/bin/python3 /var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /private/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/tmp/tmppct6olfy
         cwd: /private/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/tmp/pip-install-1cr7lj7q/scipy
    Complete output (12 lines):
    Traceback (most recent call last):
      File "/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
        main()
      File "/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 101, in prepare_metadata_for_build_wheel
        backend = _build_backend()
      File "/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 60, in _build_backend
        ep = os.environ['PEP517_BUILD_BACKEND']
      File "/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/os.py", line 680, in __getitem__
        raise KeyError(key) from None
    KeyError: 'PEP517_BUILD_BACKEND'
    ----------------------------------------
ERROR: Command errored out with exit status 1: /var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/bin/python3 /var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/Library/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /private/var/mobile/Containers/Data/Application/650AC656-F238-4658-B7A4-1644B6535B6E/tmp/tmppct6olfy Check the logs for full command output.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
Dmisawacommented, Jan 15, 2021

To solve this problem…

  • brew install lapack
  • brew install openblas
  • use pip=20.3.3
0reactions
eyupakbabacommented, Apr 5, 2022

i got the same problem while i was trying to configure jupyter notebook with python.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - I cannot not install NumPy by pip ... - Stack Overflow
Python 3.9 doesn't have wheels for numpy yet. You have to install pipwin then install numpy with pipwin as follows: pip install pipwin....
Read more >
Cannot install scipy - Jetson Nano - NVIDIA Developer Forums
Hello, I cannot install scipy on Jetson Nano successfully. If I use ~$ sudo pip install scipy the error is Collecting scipy Downloading ......
Read more >
Installing scipy fails with "Error: 'None' must be ... - Heptapod
I'm trying to install scipy and get it working with pypy. ... requirements to build wheel ... done Preparing wheel metadata ... error...
Read more >
Unable to install scipy (+numpy) as component requirement
I'm making a custom component (“mpc_thermostat”). It depends on scipy , which in turn depends on numpy . During installation (HA restart), I...
Read more >
Preparing metadata (pyproject.toml) error (Python) - YouTube
Pip install scikit-learn error : Preparing metadata (pyproject.toml) error ( Python )
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