1、cmd中輸入:pip install pyyaml 報一下錯誤
【解決方法】
https://pypi.org/project/classes/#files 找到對應的資源包下載
下載資源包:http://pyyaml.org/download/pyyaml/PyYAML-3.02.zip
解壓進入文件夾,執行:python setup.py install
【檢查】
進入 python
import yaml
顯示如下即安裝成功
2、問題:
No matching distribution found for pytz>=2017.3
解決:
https://pypi.org/project/pytz/#files
下載pytz-2021.1-py2.py3-none-any.whl
pip3 install pytz-2021.1-py2.py3-none-any.whl
3、安裝模塊
https://github.com/urllib3/urllib3/tree/main
https://github.com/psf/requests
下載代碼,解壓
python setup.py install