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 对所有项目有效