PyCharm配置Virtual Environment
生活随笔
收集整理的這篇文章主要介紹了
PyCharm配置Virtual Environment
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Python虛擬環境(venv)允許僅為單個項目安裝庫,而不是在使用計算機的每個人之間共享庫。
Step 1: Select File…Settings
Step 2: Click “Project Interpreter”
Then find the gear icon in the upper right. click on it and select “Add”
Step 3: Select Virtualenv Environment from the left
Then create a new environment. Usually it should be in a folder called venv in your main project. PyCharm does not always select the correct location by default, so carefully look at the path to make sure it is correct, then select “Ok”.
Inherit global site-packages 繼承全局site-packages內的所有插件功能
Make avaiable to all projects 對所有項目有效
PyCharm項目下生成編譯器相關文件
在項目目錄下創建存放編譯器相關文件
總結
以上是生活随笔為你收集整理的PyCharm配置Virtual Environment的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: libmp3lame的接口使用
- 下一篇: LAME