pip download / install download / install third-party packages offline

surroundings:

pip 19.0.3

windows7 x64

 

  • pip download third-party package
pip download your package name -d " Download path (windows double quotation marks to indicate the folder) "

For chestnut:

pip download pymysql -d "D:\pipDownloadTest"
  • pip offline installation
pip install <package name>

For chestnut:

1  # switches to be installed in the terminal directory (D: \ pipDownloadTest) 
2 PIP-0.9.3-py2.py3 PyMySQL the install-none-any.whl

 

This article is about the most simple and direct use for quickly resolve problems when working. More sophisticated use of advanced learning see pip help command.

Guess you like

Origin www.cnblogs.com/jasonzhang-blog/p/11262738.html