使用pip安裝python包,出現Cannot unpack file xxx的問題的解決以及pip安裝速度慢或出現readtime out問題的解決

咱們在安裝第三方包的時候,直接使用pip install 速度會比較慢,甚至出現readtime out的問題。 因此咱們能夠使用國內的鏡像源 好比清華鏡像源:web https://pypi.tuna.tsinghua.edu.cn/simple 安裝命令以下:svg pip install https://pypi.tuna.tsinghua.edu.cn/simple package-nam
相關文章
相關標籤/搜索