【发布时间】:2021-01-23 23:05:34
【问题描述】:
我尝试在 Kali Linux 上安装 Conda。我使用了命令$ pip3 install conda 之后我尝试运行 anaconda 但没有任何反应,所以我去网站安装 anaconda for linux64 然后我安装成功但是当我运行脚本时
$ source /home/faidey/anaconda3/bin/activate
$ conda init
出现以下消息:
conda init
no change /home/faidey/anaconda3/condabin/conda
no change /home/faidey/anaconda3/bin/conda
no change /home/faidey/anaconda3/bin/conda-env
no change /home/faidey/anaconda3/bin/activate
no change /home/faidey/anaconda3/bin/deactivate
no change /home/faidey/anaconda3/etc/profile.d/conda.sh
no change /home/faidey/anaconda3/etc/fish/conf.d/conda.fish
no change /home/faidey/anaconda3/shell/condabin/Conda.psm1
no change /home/faidey/anaconda3/shell/condabin/conda-hook.ps1
no change /home/faidey/anaconda3/lib/python3.8/site-packages/xontrib/conda.xsh
no change /home/faidey/anaconda3/etc/profile.d/conda.csh
no change /home/faidey/.bashrc
No action taken.
所以当我尝试执行脚本$ sudo conda init 时,会出现以下消息:
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.
怎样才能去掉第一个脚本$ pip3 install conda的影响并成功运行anaconda?
【问题讨论】:
标签: python linux anaconda conda