安装anconda遇到的问题

1、如果默认不初始化,则安装之后,没有conda命令,需要手动初始化

 注:为避免用户名泄露,此处的用户名均已$USER替代

installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>>

You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:

eval "$(/home/$USER/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)"

To install conda's shell functions for easier access, first activate, then:

conda init

If you'd prefer that conda's base environment not be activated on startup,
set the auto_activate_base parameter to false:

conda config --set auto_activate_base false

Thank you for installing Anaconda3!

===========================================================================

Anaconda and JetBrains are working together to bring you Anaconda-powered
environments tightly integrated in the PyCharm IDE.

PyCharm for Anaconda is available at:
https://www.anaconda.com/pycharm

小编在安装时出现了这种情况,安装了删掉,再安装,连续几次,总是同一个问题,最后安装时初始化出错,于是我想它自己不能创建环境路径。
下面是自己加的环境路径

$ vi .bash_profile 

在最后一行加上如下配置:

export PATH=/anaconda/anaconda3/bin:$PATH

如果是默认安装路径的话则为:

export PATH=/home/user/anaconda3/bin:$PATH

然后使其生效:

$source .bash_profile

最终输入尝试打开jupyter notebook ,打开完成。

(每次都需要这样的启动)

$source .bash_profile

jupyter notebook

安装anconda遇到的问题_第1张图片

你可能感兴趣的:(计算机视觉)