我在python 3 jupyter笔记本上输入...
import wikipedia as wp我得到了一个很长的错误,它的末尾是...
c:\users\yishai and shira\appdata\local\programs\python\python37-32\certifi.py in <module>
3 http = urllib3.PoolManager(
4 cert_reqs='CERT_REQUIRED',
----> 5 ca_certs=certifi.where())
6 ##The PoolManager will automatically handle
7 ##certificate verification and will raise SSLError if verification fails:
AttributeError: module 'certifi' has no attribute 'where'发布于 2019-07-17 02:00:15
解决了。原来我有一个名为certifi的文件。我改了它的名字。好了。谢谢!
发布于 2019-07-15 03:34:58
尝试更新认证模块,它应该可以工作:
pip install --upgrade certifihttps://stackoverflow.com/questions/57029793
复制相似问题