美文网首页碎片知识
python venv 新建一个虚拟环境

python venv 新建一个虚拟环境

作者: Jonah_Peng | 来源:发表于2018-01-30 21:50 被阅读19次

    要先安装venv
    $ pip install venv

    新建
    $ python3 -m venv /path/to/new/envrionment

    激活
    $ source /path/of/new/environment/bin/activate

    相关文章

      网友评论

        本文标题:python venv 新建一个虚拟环境

        本文链接:https://www.haomeiwen.com/subject/afjhzxtx.html