简体   繁体   English

在CMD、Pycharm工程终端使用pip和通过ZE47D2910ZF66B5062C0F接口安装包有什么区别?

[英]Is there any difference between using pip in CMD, Pycharm project terminal or installing packages through Pycharm interface?

Is there any difference between using pip install in CMD, using it in the Pycharm project terminal or installing packages through the interpreter settings of the Pycharm interface? Is there any difference between using pip install in CMD, using it in the Pycharm project terminal or installing packages through the interpreter settings of the Pycharm interface?

There should be no difference assuming that you're talking about PyCharm using pip underneath, which it does by default.假设您正在谈论 PyCharm 使用 pip 下面应该没有区别,默认情况下它会这样做。 The other big thing is to make sure that you're working on the same Python installation in each case.另一件大事是确保您在每种情况下都使用相同的 Python 安装。 You could certainly have things set up such that, by default, these different options are each addressing a different installation of Python if you have multiple versions of Python installed.如果您安装了多个版本的 Python,那么您当然可以进行设置,默认情况下,这些不同的选项分别针对 Python 的不同安装。

No, there is no difference, as long as your IDE is using the same installation.不,没有区别,只要您的 IDE 使用相同的安装。 If that is the case, choose the option, that is the easiest for you.如果是这种情况,请选择对您来说最简单的选项。

As long as you're using the same environment / interpreter there should be no difference只要您使用相同的环境/解释器,就应该没有区别

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM