简体   繁体   English

Pycharm 安装包失败:安装包:发生错误。 错误

[英]Pycharm Install packages failed: Installing packages: error occurred. error

When I try to install any packages I get this error .当我尝试安装任何软件包时,我收到此错误 Before I was able to download.在我能够下载之前。 However, now I am getting但是,现在我得到

Install packages failed: Installing packages: error occurred. error. 

Can you help me?你能帮助我吗?

I think you can find your answer here,我想你可以在这里找到答案

https://medium.com/better-programming/how-to-install-python-packages-in-pycharm-without-anaconda-f78c0fe33362 https://medium.com/better-programming/how-to-install-python-packages-in-pycharm-without-anaconda-f78c0fe33362

How to Solve Error Messages While Installing Packages in PyCharm如何解决 PyCharm 安装包时出现的错误信息

  • If an error occurs while installing a package in PyCharm, it may be due to a new version of the “pip” package on your computer.如果在 PyCharm 中安装 package 时出现错误,可能是由于您的计算机上的“pip”package 的新版本所致。 You have to update it before a package will install.您必须在安装 package 之前对其进行更新。
  • To update “pip”:要更新“点子”:

1 - Go to “Project Interpreter.” 1 - Go 到“项目解释器”。 Click on it.点击它。 Find “pip” among the listed packages.在列出的包中找到“pip”。 Click on it once, and “pip” will be highlighted.单击它一次,“pip”将突出显示。 On the right-hand side of the page, you will see an eye-like image.在页面的右侧,您将看到一个类似眼睛的图像。 When you hover on it, it displays “Show Early Releases.”当您在其上使用 hover 时,它会显示“显示早期版本”。

2 - At the top of the eye-like image, there is a faint arrow pointing up. 2 - 在眼睛状图像的顶部,有一个指向上方的微弱箭头。 It displays “Upgrade” when you hover on it.当您在其上使用 hover 时,它会显示“升级”。 Click on the arrow to upgrade “pip” to the latest version.单击箭头将“pip”升级到最新版本。 Wait for the upgrade to finish.等待升级完成。 After the upgrade is finished, search for the package you want to install as explained above.升级完成后,按照上面的说明搜索你要安装的package。

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

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