1、pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
出现这种问题,一般是安装超时,可以采用两种方法:
(1)增大延时时间
例:
pip --default-timeout=100 install -U data
(2)更换pip源
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣 http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
2、ImportError: cannot import name 'fluid' from 'paddle'
出现这种问题一般是下载的第三方库中没有fluid,所以要查找对应版本号
pip install module_name==version_num
但是我最后是增加了这段才成功的,好像也是可以更新paddlepaddle
pip install PaddlePaddle==2.3.2 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com