操作系统:unbuntu 平台:pycharm python2.7 图中所在位置:pycharm的terminal
目的:pip tensorflow_fold 0.0.1版本
前提:已经pip完成tensorflow1.0.0版本
现在pip tensorflow_fold报错,报错如下:
查询资料如下,给了启发
(55条消息) 记录pip安装遇到的一些坑(pstuil, regex报错)_qq_24497419的博客-优快云博客
直接输入:sudo apt-get install python2.7-dev
然后进行tensorflow_fold的pip,随后成功。
tensorflow_fold的安装过程可参考下面的链接:
tensorflow_fold/g3doc/setup.md · Gitee 极速下载/Fold-Tensor - Gitee.com
即:(以python2.7为例)
先pip tensorflow,注意版本问题(tensorflow==1.0.0 对应tensorflow_fold==0.0.1)
pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0rc0-cp27-none-linux_x86_64.whl
随后,pip tensorflow_fold
pip install https://storage.googleapis.com/tensorflow_fold/tensorflow_fold-0.0.1-cp27-none-linux_x86_64.whl