[英]Downgrading from Anaconda Python 3.6 to Python 3.5.2 Not Working
I am trying to downgrade python to 3.5.2 so I can run TensorFlow.我正在尝试将 python 降级到 3.5.2,以便我可以运行 TensorFlow。 Running into a bit of an issue here, not sure why.这里遇到了一点问题,不知道为什么。 I open my cmd and run python
- shows me Python 3.6.1 is running.我打开我的 cmd 并运行python
- 显示我正在运行 Python 3.6.1。 Exit() out of cmd, then type conda install python=3.5.2
. Exit() 退出 cmd,然后输入conda install python=3.5.2
。 It shows that 3.5.2 is currently installed, but for whatever reason when I'm in cmd and python
it keeps showing my that python is in verison 3.6.它显示当前安装了 3.5.2,但是无论出于何种原因,当我在 cmd 和python
它一直显示我的 python 是 verison 3.6。 Any idea how to fix this?知道如何解决这个问题吗?
If you're using anaconda, a better idea would be to start a new environment rather than trying to install a new python in an old environment.如果您使用 anaconda,更好的主意是启动一个新环境,而不是尝试在旧环境中安装新的 python。 That's basically asking for the same set of problems that virtual environments are made to circumvent ;-)这基本上是在要求虚拟环境规避的相同问题集;-)
conda create -n py35 python=3.5.2
source activate py35
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.