我在 macbook m1 上使用 python 3.9.8 和 pycharm。我已经用自制程序安装了 openblas,但仍然收到以下错误。
我尝试通过自制程序安装 SciPy,但它无法正常工作。
我的点是最新的。
我安装了 Numpy、Pandas 等。除了 SciPy 之外一切都工作正常,我不明白为什么。
(venv) wes@Air-van-Wes pythonProject % pip install scipy
Collecting scipy
Using cached scipy-1.7.2.tar.gz (36.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
ERROR: Command errored out with exit status 1:
command: /Users/wes/PycharmProjects/pythonProject/venv/bin/python /Users/wes/PycharmProjects/pythonProject/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/bl/2xjy80bj6y57yb5z0frfypk00000gn/T/tmpgb5a46oi
cwd: /private/var/folders/bl/2xjy80bj6y57yb5z0frfypk00000gn/T/pip-install-19slhbw2/scipy_f4bfaae68a1e4c2db88f86a394b879ca
Complete output (175 lines):
setup.py:491: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /private/var/folders/bl/2xjy80bj6y57yb5z0frfypk00000gn/T/pip-modern-metadata-6yn5g0q3'), proceeding with generating Cython sources …Run Code Online (Sandbox Code Playgroud)