pip
裸睡的雨
菜鸟自学中
展开
-
pip 安装库时碰到的错误 AttributeError: 'str' object has no attribute 'decode'
python 使用 pip 命令安装库的时候碰到的错误AttributeError: 'str' object has no attribute 'decode'解决:修改源码进入 compat.py 文件原来:改后:重新执行安装命令python3里面,字符串要先encode手动指定其为某一编码的字节码之后,才能decode解码。...原创 2019-11-08 14:14:37 · 6512 阅读 · 1 评论 -
pip/pip3更换国内源
pip/pip3更换国内源Windows更换pip/pip3源打开目录:%appdata%新增pip文件夹,新建pip.ini文件给pip.ini添加内容[global]timeout = 6000index-url = https://pypi.tuna.tsinghua.edu.cn/simpletrusted-host = pypi.tuna.tsinghua.edu.cn...转载 2018-10-19 16:10:31 · 7030 阅读 · 0 评论 -
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate
安装python后,直接使用pip install 安装库碰到的错误Collecting pyexecjs Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFIC...原创 2019-07-02 10:19:37 · 7951 阅读 · 0 评论