1. Download Python3.5.x. not working on python2.x or python 3.6;
2. Follow the instrucation on https://www.tensorflow.org/install/install_windows; if your python is not 3.5.x. Tensorflow cannot be installed.
3. upgrade you pip. -pip upgrade pip;
3. install related lib; pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
note : scipy probably cannot be installed. go to http://www.lfd.uci.edu/~gohlke/pythonlibs/ download proper version for your python3.X.
(check your pip property by
import pip
print(pip.pep425tags.get_supported())
)
4. a. if you using python with Anacona, you should change your environment to Python 3.5 conda install python=3.5
b. for Jupyter user .
- upgrade to Jupyter with
pip install -U jupyter - install Jupyter again using
pip3 install jupyter - install Python3 kernel using
ipython3 kernelspec install-self - I finally got 2 working kernels.
本文详细介绍了如何正确安装TensorFlow并确保其在Python 3.5环境中正常运行的方法。包括下载合适的Python版本、升级pip工具、安装必要的库如NumPy、SciPy等,并针对特定情况提供了额外指导,例如使用Anaconda管理和安装Python内核。
1131

被折叠的 条评论
为什么被折叠?



