[PYTHOND] python 库本地安装 pip 本地安装

本地安装python库文件

下载安装包到本地并解压,进入setup.py 目录,输入以下命令

python setup.py install

例子:

D:\dist\pyad-0.6.00>python setup.py install
running install
running bdist_egg
running egg_info
writing pyad.egg-info\PKG-INFO
writing dependency_links to pyad.egg-info\dependency_links.txt
writing requirements to pyad.egg-info\requires.txt
writing top-level names to pyad.egg-info\top_level.txt
reading manifest file 'pyad.egg-info\SOURCES.txt'
writing manifest file 'pyad.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adbase.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adcomputer.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adcontainer.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\addomain.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adgroup.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adobject.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adquery.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\adsearch.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\aduser.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\pyad.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\pyadconstants.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\pyadexceptions.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\pyadutils.py -> build\bdist.win-amd64\egg\pyad
copying build\lib\pyad\__init__.py -> build\bdist.win-amd64\egg\pyad
byte-compiling build\bdist.win-amd64\egg\pyad\adbase.py to adbase.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\adcomputer.py to adcomputer.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\adcontainer.py to adcontainer.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\addomain.py to addomain.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\adgroup.py to adgroup.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\adobject.py to adobject.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\adquery.py to adquery.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\adsearch.py to adsearch.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\aduser.py to aduser.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\pyad.py to pyad.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\pyadconstants.py to pyadconstants.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\pyadexceptions.py to pyadexceptions.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\pyadutils.py to pyadutils.cpython-38.pyc
byte-compiling build\bdist.win-amd64\egg\pyad\__init__.py to __init__.cpython-38.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying pyad.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying pyad.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying pyad.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying pyad.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying pyad.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\pyad-0.6.0-py3.8.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing pyad-0.6.0-py3.8.egg
Removing c:\program files\python38\lib\site-packages\pyad-0.6.0-py3.8.egg
Copying pyad-0.6.0-py3.8.egg to c:\program files\python38\lib\site-packages
pyad 0.6.0 is already the active version in easy-install.pth

Installed c:\program files\python38\lib\site-packages\pyad-0.6.0-py3.8.egg
Processing dependencies for pyad==0.6.0
Searching for future==0.18.2
Best match: future 0.18.2
Processing future-0.18.2-py3.8.egg
future 0.18.2 is already the active version in easy-install.pth
Installing futurize-script.py script to C:\Program Files\Python38\Scripts
Installing futurize.exe script to C:\Program Files\Python38\Scripts
Installing pasteurize-script.py script to C:\Program Files\Python38\Scripts
Installing pasteurize.exe script to C:\Program Files\Python38\Scripts

Using c:\program files\python38\lib\site-packages\future-0.18.2-py3.8.egg
Searching for setuptools==41.2.0
Best match: setuptools 41.2.0
Adding setuptools 41.2.0 to easy-install.pth file
Installing easy_install-script.py script to C:\Program Files\Python38\Scripts
Installing easy_install.exe script to C:\Program Files\Python38\Scripts
Installing easy_install-3.6-script.py script to C:\Program Files\Python38\Scripts
Installing easy_install-3.6.exe script to C:\Program Files\Python38\Scripts

Using c:\program files\python38\lib\site-packages
Finished processing dependencies for pyad==0.6.0
View Code

 

posted on 2020-04-22 12:58  InnoLeo  阅读(3057)  评论(0编辑  收藏  举报