目录
Installing and Managing Python Packages
1 How to work with Python packages in your project.
Installing and Managing Python Packages
安装和管理Python包
1 How to work with Python packages in your project.
1 如何在项目中使用Python包。
In the previous step, we set up a Python interpreter for our project.
But sometimes our project depends on Python packages and getting those setup can be tricky.
在上一步中,我们为项目设置了一个Python解释器。
但有时我们的项目依赖于Python包,获得这些设置可能很棘手。
2 Package Tool Window
2 打包工具窗口
In 2021, PyCharm added a new Packages tool window to help you see which Python packages are in your interpreter, as well as manage them. You can use this to see what packages PyCharm has installed, for example some will be installed if you select Flask as your project type such as the Jinja2 and Flask packages.
在2021年,PyCharm添加了一个