當電腦不能連接外網時,我們需要安裝python的第三方包,可以使用如下命令下載所需要的包
pip3 download -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
然后使用命令在終端中安裝
for %x in (dir *.whl) do python -m pip install %x
當電腦不能連接外網時,我們需要安裝python的第三方包,可以使用如下命令下載所需要的包
pip3 download -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
然后使用命令在終端中安裝
for %x in (dir *.whl) do python -m pip install %x
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。