python tensorflow安装不了_python3安装tensorflow遇到的问题

在安装Tensorflow过程中遇到了权限错误,提示'/home/itcast/.cache/pip'目录及其父目录不归当前用户所有,导致缓存被禁用。建议检查目录权限,或在使用sudo时加上-H标志。
摘要由CSDN通过智能技术生成

The directory ‘/home/itcast/.cache/pip/http‘ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo‘s -H flag.

The directory ‘/home/itcast/.cache/pip‘ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo‘s -H flag.

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple

Collecting tensorflow

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/69/90/357f5f0e7da99bc314f84f01922d95f3d52b008ec3f70558886b14639820/tensorflow-1.10.1-cp34-cp34m-manylinux1_x86_64.whl (59.0MB)

100% |████████████████████████████████| 59.0MB 217kB/s

Collecting tensorboard<1.11.0,>=1.10.0 (from tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c6/17/ecd918a004f297955c30b4fffbea100b1606c225dbf0443264012773c3ff/tensorboard-1.10.0-py3-none-any.whl (3.3MB)

100% |████████████████████████████████| 3.3MB 829kB/s

Collecting grpcio>=1.8.6 (from tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/48/ad/44d573b2ae87a12806827329e9d22331c1e27d227c20a878499accd06ee0/grpcio-1.14.1-cp34-cp34m-manylinux1_x86_64.whl (9.3MB)

100% |████████████████████████████████| 9.3MB 1.2MB/s

Collecting absl-py>=0.1.6 (from tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/cc/e6/6cc5c834023685dd83a28bdb5c1826d9340111493a447e9a9230269defa8/absl-py-0.4.0.tar.gz (88kB)

100% |████████████████████████████████| 92kB 1.5MB/s

Collecting wheel>=0.26 (from tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/81/30/e935244ca6165187ae8be876b6316ae201b71485538ffac1d718843025a9/wheel-0.31.1-py2.py3-none-any.whl (41kB)

100% |████████████████████████████████| 51kB 3.4MB/s

Requirement already satisfied: setuptools<=39.1.0 in /usr/lib/python3/dist-packages (from tensorflow) (3.3)

Collecting astor>=0.6.0 (from tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl

Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.4/dist-packages (from tensorflow) (1.1.0)

Requirement already satisfied: numpy<=1.14.5,>=1.13.3 in /usr/local/lib/python3.4/dist-packages (from tensorflow) (1.14.5)

Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.4/dist-packages (from tensorflow) (1.11.0)

Collecting protobuf>=3.6.0 (from tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/61/52/463bac997cee19c74e1aa9153e4aef1af26737f90c91837c13efa0225c25/protobuf-3.6.1-cp34-cp34m-manylinux1_x86_64.whl (1.1MB)

100% |████████████████████████████████| 1.1MB 1.2MB/s

Requirement already satisfied: gast>=0.2.0 in /usr/local/lib/python3.4/dist-packages (from tensorflow) (0.2.0)

Collecting markdown>=2.6.8 (from tensorboard<1.11.0,>=1.10.0->tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB)

100% |████████████████████████████████| 81kB 1.4MB/s

Collecting werkzeug>=0.11.10 (from tensorboard<1.11.0,>=1.10.0->tensorflow)

Downloading https://pypi.tuna.tsinghua.edu.cn/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)

100% |████████████████████████████████| 327kB 1.0MB/s

Installing collected packages: markdown, wheel, protobuf, werkzeug, tensorboard, grpcio, absl-py, astor, tensorflow

Found existing installation: wheel 0.24.0

Uninstalling wheel-0.24.0:

Successfully uninstalled wheel-0.24.0

Running setup.py install for absl-py ... done

Successfully installed absl-py-0.4.0 astor-0.7.1 grpcio-1.14.1 markdown-2.6.11 protobuf-3.6.1 tensorboard-1.10.0 tensorflow-1.10.1 werkzeug-0.14.1 wheel-0.31.1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值