简体   繁体   中英

No module named pycurl

I am trying to convert multiple IP 2 DOMAINS using SSH root server. I am using these cmds cd opd +ls + chmod +x * + python url.py 50 but I get the error below when I run this:

Traceback (most recent call last):
File "url.py", line 1, in <module>
import pycurl
ImportError: No module named pycurl

What is missing here? I am stuck here, please help or advise.

You need to install the pycurl module. This is typically accomplished with

pip install pycurl

不是在 python shell 中而是在你的虚拟环境中安装:只是你的普通终端

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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