[英]Installing Anaconda Python in a virtual world without changing global Python version
Good afternoon. 下午好。 I have been learning Virtualenv and Virtualenvwrapper.
我一直在学习Virtualenv和Virtualenvwrapper。 I then decided I wanted to install Anaconda Python again so I could continue learning how to do data analysis.
然后,我决定要再次安装Anaconda Python,这样我就可以继续学习如何进行数据分析。 Then I saw where you can use conda to make a virtual environment for Anaconda.
然后,我看到了可以在哪里使用conda为Anaconda创建虚拟环境。 I installed it and told it not to add the path to my bashrc file but then conda was not recognized.
我安装了它,并告诉它不要将路径添加到我的bashrc文件中,但是却无法识别conda。 So then I reinstalled and said yes.
因此,我重新安装并说是。 But now my global python is set to anaconda 3.5 which I do not want.
但是现在我的全局python设置为anaconda 3.5,我不需要。 How can I use conda to set up a virtual environment without affecting my global python of 2.7?
如何在不影响2.7的全局python的情况下使用conda设置虚拟环境? Thank you.
谢谢。
修复PATH环境变量,使其在anacaonda目录之前声明全局python目录。
I was looking into a similar issue and I ended up using Docker to manage my Anaconda installation. 我一直在研究类似的问题,最终使用Docker来管理Anaconda安装。
https://github.com/jupyter/docker-stacks/tree/master/minimal-notebook https://github.com/jupyter/docker-stacks/tree/master/minimum-notebook
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.