Skip to main content

使用conda时的一些问题

刚安装完成 miniconda3,就无法启动 Python

$ which python
~/miniconda3/bin/python

$ python
Segmentation fault (core dumped)

可能是 locale 的设置问题:

export LANGUAGE=UTF-8
export LC_ALL=en_US.UTF-8
export LANG=UTF-8
export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_COLLATE=$LANG
export LC_CTYPE=$LANG
export LC_MESSAGES=$LANG
export LC_MONETARY=$LANG
export LC_NUMERIC=$LANG
export LC_TIME=$LANG
export LC_ALL=$LANG

写入 ~/.bashrc