我正在尝试通过 pip 在我的 64 位 ARMV8 板上安装 scipy。我已经安装了 scipy 所需的 openblas。所以,没有问题。当我给时pip3 install scipy --trusted-host pypi.org --trusted-host files.pythonhosted.org,我收到错误Failed building wheel for scipy。我有 pip3 和 pip3.5,/usr/bin其余的 pip 都在/usr/lib64/python3.5/site-packages。所以基本上,我也有 pip。
我还尝试使用--no-binary选项安装 scipy ,这是网络上的答案之一。但是,它给了我同样的错误。下面是我得到的错误。
错误:
Collecting scipy
Downloading scipy-1.4.1.tar.gz (24.6 MB)
|################################| 24.6 MB 6.6 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: scipy
Building wheel for scipy (PEP …Run Code Online (Sandbox Code Playgroud) 我最近买了一台新的 MacBook Air M1。我在安装 Pandas 时遇到问题。是否有任何特定于新处理器的东西会阻止安装 Pandas?
我想通过在Mac OS上进行pip3安装来安装JPype1。
$ pip3 install JPype1
Run Code Online (Sandbox Code Playgroud)
但是,以下错误反复发生。
Collecting JPype1
Using cached https://files.pythonhosted.org/packages/c4/4b/60a3e63d51714d4d7ef1b1efd
f84315d118a0a80a5b085bb52a7e2428cdc/JPype1-0.6.3.tar.gz
Installing collected packages: JPype1
Running setup.py install for JPype1 ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/_t/j4yyfrs972scc4kbnzmqw_d80000gn/T/pip-install-ikitwbg0/JPype1/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/_t/j4yyfrs972scc4kbnzmqw_d80000gn/T/pip-record-el7dtlip/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.6
creating build/lib.macosx-10.6-intel-3.6/jpype
copying jpype/_jcollection.py -> build/lib.macosx-10.6-intel-3.6/jpype
copying jpype/_classpath.py -> build/lib.macosx-10.6-intel-3.6/jpype
copying jpype/_jio.py -> build/lib.macosx-10.6-intel-3.6/jpype
copying jpype/_pykeywords.py -> build/lib.macosx-10.6-intel-3.6/jpype
copying jpype/_jproxy.py -> build/lib.macosx-10.6-intel-3.6/jpype
copying jpype/_gui.py -> build/lib.macosx-10.6-intel-3.6/jpype …Run Code Online (Sandbox Code Playgroud) macos ×2
pip ×2
python ×2
apple-m1 ×1
installation ×1
java ×1
jpype ×1
pandas ×1
python-wheel ×1
scipy ×1