【pycharm】【安装和管理Python包】

本文介绍了如何在PyCharm中管理和安装Python包。PyCharm的2021版本新增了Packages工具窗口,方便查看和管理解释器中的包。你可以直接在PyCharm中添加PyPI包,如requests,或者从版本控制系统和本地磁盘安装包。通过使用PyCharm,可以避免因未在激活的虚拟环境中安装包而导致的错误。
摘要由CSDN通过智能技术生成

目录

Installing and Managing Python Packages

安装和管理Python包

1 How to work with Python packages in your project.

1 如何在项目中使用Python包。

2 Package Tool Window

2 打包工具窗口

3 Add PyPI Package

3 添加PyPI包

4 Add Repository Package 

4 添加存储库包

5 Conclusion 

5 结论

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添加了一个

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

资源存储库

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值