Revert the `--no-site-packages` option with virtualenv

前端 未结 5 2124
暖寄归人
暖寄归人 2020-11-28 02:39

I have created a virtualenv using the --no-site-packages option and installed lots of libraries. Now I would like to revert the --no-site-packages

5条回答
  •  佛祖请我去吃肉
    2020-11-28 03:06

    When using virtualenvwrapper to manage virtualenvs, you can use the shell function toggleglobalsitepackages to switch between using and not using site packages.

提交回复
热议问题