我在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.
我甚至已将export PATH=/home/user/anaconda2/bin:$PATH
添加到.bashrc
。有人可以帮忙吗?
答案 0 :(得分:1)
pip install conda
可能会损坏conda设置。从错误路径下载miniconda安装程序并在下面运行
bash Miniconda3-latest-Linux-x86_64.sh -f
要测试您的安装,请输入命令conda --version
。如果安装正确,您将看到安装的conda版本。