简体   繁体   English

在安装pip之后,PyCharm无法识别Pycurl

[英]Pycurl is not recognized by PyCharm after pip install

I tried to install pycurl in my virtual environment so I ran the following command: 我试图在我的虚拟环境中安装pycurl ,所以我运行了以下命令:

pip install -U pycurl

Yet after the install, Pycharm was still warning me that pycurl was not recognized. 但是在安装之后,Pycharm仍然警告我pycurl无法识别。

When I look in my site-package folder I do have a pycurl-7.43.0.1.dist-info folder but no pycurl folder 当我查看site-package文件夹时,我确实有一个pycurl-7.43.0.1.dist-info文件夹,但没有pycurl文件夹

Could you help me to get a clean install for pycurl ? 您能帮我获得pycurl安装吗?

One way to solve it is to do the following in PyCharm: 解决此问题的一种方法是在PyCharm中执行以下操作:

  • Go to Settings (Ctrl + Alt + S) 转到设置 (Ctrl + Alt + S)
  • Go to Project Interpreter 转到项目口译员
  • Click on the + button on the right of the panel 单击面板右侧的+按钮
  • Find pycurl 查找pycurl
  • Click on Install Package 点击安装包

The warning should disappear after that. 此后警告应消失。

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

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