superset 的安装使用

2019-06-10  本文已影响0人  叫兽吃橙子

心得记录

/opt/anaconda3/bin/python3.7 conda create -n superset python=3.7
# conda 的路径在 /opt/anaconda3/bin
/opt/anaconda3/bin/python3.7 conda
# To activate this environment, use:
# > conda activate superset
#
# To deactivate an active environment, use:
# > conda deactivate

安装步骤

1.安装虚拟环境

/opt/anaconda3/bin/python3.7 conda create -n superset python=3.7
# conda 的路径在 /opt/anaconda3/bin

2.激活虚拟环境

conda activate superset    //激活虚拟环境
conda deactivate    //关闭虚拟环境

//可能报错
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>
//解决办法
# 重新进入虚拟环境
source activate
# 重新退出虚拟环境
source deactivate
上一篇 下一篇

猜你喜欢

热点阅读