deactivate conflict in virtualenvwapper and anaconda

前端 未结 5 769
春和景丽
春和景丽 2020-12-29 10:35

I\'m using virtualenv to switch my python dev env. But when I run workon my_env, I meet such error message:

Error: deactivate must be sourced. R         


        
5条回答
  •  醉酒成梦
    2020-12-29 10:46

    You can edit /usr/local/bin/virtualenvwrapper.sh to make deactivate point to an absolute path to whatever deactivate it is supposed to be referencing.

提交回复
热议问题