In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> # 要继续安装过程,请查看许可证协议。请按ENTER继续
然后按空格阅读许可协议,
Do you accept the license terms? [yes|no]
[no] >>> yes # 是否接受协议,选yes
Anaconda3 will now be installed into this location:
/root/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/anaconda3] >>> # 是否安装到当前家目录的anaconda3目录中,默认回车即可
Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /root/.bashrc ? [yes|no]
[no] >>> yes # 是否添加环境变量到/root/.bashrc文件
重新加载环境变量,执行:
Traceback (most recent call last):
File "/home/*****/anaconda3/bin/conda", line 4, in
import re
File "/home/*****/anaconda3/lib/python3.6/re.py", line 142, in
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag' 方法
建议在打开python前执行