- 在xavier上安装tensorflow(1.12-gpu版本)过程中报错的解决方法:
- 安装步骤:
第一步:sudo apt-get install python-pip python-dev
第二步:sudo pip install --upgrade pip
第三步:sudo pip install tensorflow_gpu-1.12.0rc2+nv18.11-cp27-cp27mu-linux_aarch64.whl
安装时报错如下:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-PGEWMl/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-PGEWMl/h5py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hJGAk5/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python2.7/h5py
cwd: /tmp/pip-install-PGEWMl/h5py/
Complete output (64 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-2.7
creating build/lib.linux-aarch64-2.7/h5py
copying h5py/h5py_warnings.py -> build/lib.linux-aarch64-2.7/h5py
copying h5py/__init__.py -> build/lib.linux-aarch64-2.7/h5py
copying h5py/version.py -> build/lib.linux-aarch64-2.7/h5py
copying h5py/ipy_completer.py -> build/lib.linux-aarch64-2.7/h5py
copying h5py/highlevel.py -> build/lib.linux-aarch64-2.7/h5py
creating build/lib.linux-aarch64-2.7/h5py/_hl
copying h5py/_hl/base.py -> build/lib.linux-aarch64-2.7/h5py/_hl
copying h5py/_hl/__init__.py -> build/lib.linux-aarch64-2.7/h5py/_hl
copying h5py/_hl/compat.py -> build/lib.linux-aarch64-2.7/h5py/_hl
copying h5py/_hl/selections2.py -> build/lib.linux-aarch64-2.7/h5py/_hl
c