我正在尝试安装 tensorflow r0.11。我试过了
pip install tensorflow==r0.11
pip install tensorflow<0.12
但我得到了这个错误
Could not find a version that satisfies the requirement tensorflow==0.11.0 (from versions: 0.12.0rc0, 0.12.0rc1, 0.12.0, 0.12.1)
No matching distribution found for tensorflow==0.11.0
我假设 pip 不再支持贬值版本,我怎样才能得到它?
我也试过
pip install git+git://github.com/tensorflow/tensorflow@r0.11
Cloning git://github.com/tensorflow/tensorflow (to r0.11) to /private/var/folders/1p/7km73m0s2cvdfb1js3ct8_mh0000gn/T/pip-JMMIRP-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
IOError: [Errno 2] No such file or directory: '/private/var/folders/1p/7km73m0s2cvdfb1js3ct8_mh0000gn/T/pip-JMMIRP-build/setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/1p/7km73m0s2cvdfb1js3ct8_mh0000gn/T/pip-JMMIRP-build/
最佳答案
这适用于 Mac OS 10.13.1。
pip install --user install tensorflow==1.3.0.
关于python - 如何 pip 安装旧版本的库(tensorflow)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41937915/