|
【Linux】
rk3399安装tensorflow时出错
发表于 2021-4-30 17:26:23
浏览:9733
|
回复:0
打印
只看该作者
[复制链接]
楼主
本帖最后由 圆尖 于 2021-4-30 17:39 编辑
firefly@firefly:~$ python -m pip install numpy==1.18.5
WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.7/UNKNOWN
sysconfig: /usr/include/python3.7m
WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Defaulting to user installation because normal site-packages is not writeable
Collecting install
Using cached install-1.3.4-py3-none-any.whl (3.1 kB)
Collecting numpy==1.18.5
Using cached numpy-1.18.5.zip (5.4 MB)
WARNING: Value for purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/lib/python3/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
WARNING: Value for platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/lib/python3/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python /tmp/pip-standalone-pip-n3kmj84l/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_9o13w5a/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.14'
cwd: None
Complete output (1 lines):
/usr/bin/python: can't find '__main__' module in '/tmp/pip-standalone-pip-n3kmj84l/__env_pip__.zip/pip'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/p ... f3074c62f301e63120b (from https://pypi.org/simple/numpy/) (requires-python:>=3.5). Command errored out with exit status 1: /usr/bin/python /tmp/pip-standalone-pip-n3kmj84l/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_9o13w5a/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.14' Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement numpy==1.18.5 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0, 1.13.1, 1.13.3, 1.14.0rc1, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0rc1, 1.15.0rc2, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0rc1, 1.16.0rc2, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0rc1, 1.17.0rc2, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0rc1, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0rc1, 1.19.0rc2, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0rc1, 1.20.0rc2, 1.20.0, 1.20.1, 1.20.2)
ERROR: No matching distribution found for numpy==1.18.5
我在安装tensorflow-2.3.0-cp37-none-linux_aarch64.whl 时为什么总是报错如上内容,而且我单独安装numpy==1.18.5和scipy==1.4.1时也报错这样的内容,但是当我不指定安装的版本时又可以正常安装,这是为什么呀?求解答!
|
|