美文网首页
pipenv配置

pipenv配置

作者: IT小妞儿 | 来源:发表于2021-06-17 15:43 被阅读0次

    pipenv环境配置

    1. git clone 项目
    2. cd python项目目录
    3. pipenv install
      执行此命令后,会生成虚拟环境Virtualenv location
    4. 进入PyCharm,配置虚拟环境
      PyCharm->Preferences->Project Interpreter->点击右侧设置Add Python Interpreter->选择Existing environment->Interpreter选择刚刚创建的路径->点击OK
    5. PyCharm安装第三方库
      PyCharm->Preferences->Project Interpreter->点击+->可搜索可选择需要的库

    pipenv命令

    • pipenv install 安装
    • pipenv shell 进入环境
    • pypenv install 库 安装第三方库
    • exit 退出

    相关文章

      网友评论

          本文标题:pipenv配置

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