缺少openssl相關(guān)模塊
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
解決方法:
- Fedora
sudo dnf install openssl openssl-devel
- Ubuntu
sudo apt install openssl libssl-dev
pip or setuptools未安裝最新版本
The directory '/home/amosniu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
解決方法:
pip install --user --upgrade pip
pip install --user --upgrade setuptools