【发布时间】:2026-01-23 21:05:01
【问题描述】:
我尝试在 Windows 上使用 .msi 安装程序安装 pycurl。安装后,我尝试导入模块pycurl。这是我得到的:
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycurl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pycurl'
>>>
【问题讨论】:
-
你有虚拟环境吗?
-
不,这是普通的Windows 10。你问的是这个吗?
-
这篇文章似乎有答案:*.com/questions/33684195/…