我已经在ubuntu中安装了anaconda,并且遇到了anaconda的问题。我在conda环境中运行以下命令:
271 pip install --user -r requirements.txt
272 cd ..
273 conda install ipython jupyter
274 conda install jupyter
275 python
276 sudo apt-get install python-vtk python-wxgtk2.6 python-setuptools python-numpy python-configobj
277 sudo apt-get install python-vtk python-wxgtk2.8 python-setuptools python-numpy python-configobj
278 conda install -c anaconda mayavi==4.5.0它突然停止工作了。一旦我想要激活一个环境或使用conda运行任何命令,我就会收到以下错误:
ERROR: The install method you used for conda--probably either `pip install conda`
or `easy_install conda`--is not compatible with using conda as an application.
If your intention is to install conda as a standalone application, currently
supported install methods include the Anaconda installer and the miniconda
installer. You can download the miniconda installer from
https://conda.io/miniconda.html.我甚至在.bashrc中添加了export PATH=/home/user/anaconda2/bin:$PATH。有没有人能帮帮忙?
发布于 2017-12-08 17:59:29
pip install conda可能会损坏conda设置。从错误中的路径下载miniconda安装程序并在下面运行
bash Miniconda3-latest-Linux-x86_64.sh -f
要测试您的安装,请输入命令conda --version。如果安装正确,您将看到已安装的conda版本。
https://stackoverflow.com/questions/47710568
复制相似问题