![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
TheNether
这个作者很懒,什么都没留下…
展开
-
python3 导入 from urllib import urlencode 报错 cannot import name ‘urlencode‘
因为from urllib 是python2的导入方式 在python3中将 from urllib import urlencode 中的 “urllib” 改为 “urllib.parse” 就可以了 from urllib import urlencode 改为 from urllib.parse import urlencode原创 2020-07-01 11:06:02 · 5203 阅读 · 0 评论 -
windows修改pip源
清华: https://pypi.tuna.tsinghua.edu.cn/simple 阿里云: http://mirrors.aliyun.com/pypi/simple/ 中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学: http://pypi.hustunique.com/ 山东理工大学: http://pypi.sdutlinux.org/ 豆瓣: http://pypi.douban.co原创 2021-06-28 14:30:04 · 326 阅读 · 0 评论