【Python】pip导出当前项目所用的包list列表
pip导出当前项目所用的包list列表
导出pip安装的所有的包:
pip freeze > piplist.txt
absl-py==0.9.0 adjustText==0.7.3 agate==1.6.1 agate-dbf==0.2.2 agate-excel==0.2.3 agate-sql==0.5.5 aiohttp==3.6.2 alabaster==0.7.12 anaconda-client==1.7.2 anaconda-navigator==1.9.12 anaconda-project==0.8.3 appdirs==1.4.3 applaunchservices==0.2.1 appnope==0.1.0 appscript==1.0.1 argh==0.26.2 asn1crypto==1.3.0 astor==0.8.1 astroid==2.3.3 astropy==4.0 async-timeout==3.0.1 atomicwrites==1.3.0 attrs==19.3.0 Automat==20.2.0 autopep8==1.4.4 Babel==2.8.0 backcall==0.1.0 backports.functools-lru-cache==1.6.1 backports.shutil-get-terminal-size==1.0.0 backports.tempfile==1.0 backports.weakref==1.0.post1 beautifulsoup4==4.8.2 bitarray==1.2.1 bkcharts==0.2 bleach==3.1.0 bokeh==1.4.0 boto==2.49.0 boto3==1.12.46 botocore==1.15.46 Bottleneck==1.3.2 bs4==0.0.1 cachetools==4.1.0 catboost==0.23.2 certifi==2020.6.20 cffi==1.14.0 chardet==3.0.4 Click==7.0 click-plugins==1.1.1 cligj==0.5.0 cloudpickle==1.3.0 clyent==1.2.2 colorama==0.4.3 conda==4.9.0 conda-build==3.18.11 conda-package-handling==1.6.0 conda-verify==3.4.2 constantly==15.1.0 contextlib2==0.6.0.post1 cryptography==2.8 cssselect==1.1.0 csvkit==1.0.5 cycler==0.10.0 Cython==0.29.15 cytoolz==0.10.1 dask==2.11.0 dbfread==2.0.7 decorator==4.4.1 defusedxml==0.6.0 demjson==2.2.4 Deprecated==1.2.9 descartes==1.1.0 diff-match-patch==20181111 distributed==2.11.0 docutils==0.16 dukpy==0.2.2 echarts-china-cities-pypkg==0.0.9 echarts-china-provinces-pypkg==0.0.3 echarts-countries-pypkg==0.1.6 entrypoints==0.3 et-xmlfile==1.0.1 fastcache==1.1.0 ffmpy3==0.2.3 ffn==0.3.4 filelock==3.0.12 Fiona==1.8.13.post1 fire==0.3.1 flake8==3.8.4 Flask==1.1.1 fsspec==0.6.2 future==0.18.2 gast==0.2.2 gensim==3.8.0 geopandas==0.7.0 gevent==1.4.0 glob2==0.7 gmpy2==2.0.8 google==2.0.3 google-api-core==1.17.0 google-auth==1.14.1 google-auth-oauthlib==0.4.1 google-cloud-core==1.3.0 google-cloud-storage==1.28.0 google-pasta==0.2.0 google-resumable-media==0.5.0 googleapis-common-protos==1.51.0 graphviz==0.14 greenlet==0.4.15 grpcio==1.28.1 h2==2.6.2 h5py==2.10.0 HeapDict==1.0.1 hmac-signature==0.2 hpack==3.0.0 html5lib==1.0.1 hyperframe==3.2.0 hyperlink==19.0.0 hypothesis==5.5.4 icon-font-to-png==0.4.1 idna==2.8 imageio==2.6.1 imageio-ffmpeg==0.4.2 imagesize==1.2.0 imbalanced-learn==0.6.2 imblearn==0.0 importlib-metadata==2.0.0 incremental==17.5.0 intervaltree==3.0.2 ipykernel==5.1.4 ipython==7.12.0 ipython-genutils==0.2.0 ipywidgets==7.5.1 isodate==0.6.0 isort==4.3.21 iteration-utilities==0.10.1 itsdangerous==1.1.0 javascripthon==0.11 jdcal==1.4.1 jedi==0.17.1 jieba==0.42.1 Jinja2==2.11.1 jmespath==0.9.5 joblib==0.14.1 json5==0.9.1 jsonschema==3.2.0 jupyter==1.0.0 jupyter-client==5.3.4 jupyter-console==6.1.0 jupyter-contrib-core==0.3.3 jupyter-contrib-nbextensions==0.5.1 jupyter-core==4.6.1 jupyter-echarts-pypkg==0.1.2 jupyter-highlight-selected-word==0.2.0 jupyter-latex-envs==1.4.6 jupyter-nbextensions-configurator==0.4.1 jupyterlab==1.2.6 jupyterlab-server==1.0.6 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 keyring==21.1.0 kiwisolver==1.1.0 lazy-object-proxy==1.4.3 leather==0.3.3 libarchive-c==2.8 libpython==1.0 lief==0.9.0 llvmlite==0.31.0 lml==0.0.2 locket==0.2.0 lxml==4.5.0 macropy3==1.1.0b2 mapclassify==2.2.0 Markdown==3.2.1 MarkupSafe==1.1.1 matplotlib==3.1.3 mccabe==0.6.1 mistune==0.8.4 mkl-fft==1.0.15 mkl-random==1.1.0 mkl-service==2.3.0 mock==4.0.1 modin==0.7.3 more-itertools==8.2.0 moviepy==1.0.3 mpl-finance==0.10.1 mplfinance==0.12.4a0 mpmath==1.1.0 msgpack==0.6.1 multidict==4.7.6 multipledispatch==0.6.0 munch==2.5.0 MyQR==2.3.1 mysql-connector==2.2.9 navigator-updater==0.2.1 nbconvert==5.6.1 nbformat==5.0.4 nest-asyncio==1.4.1 networkx==2.4 nltk==3.4.5 nose==1.3.7 notebook==6.0.3 numba==0.48.0 numexpr==2.7.1 numpy==1.18.1 numpydoc==0.9.2 oauthlib==3.1.0 olefile==0.46 opencv-python==4.2.0.34 openpyxl==3.0.3 opt-einsum==3.2.1 packaging==20.1 palettable==3.3.0 pandas==1.0.3 pandas-datareader==0.8.1 pandocfilters==1.4.2 parsedatetime==2.6 parsel==1.5.2 parso==0.7.0 partd==1.1.0 path==13.1.0 pathlib2==2.3.5 pathtools==0.1.2 patsy==0.5.1 pdfkit==0.6.1 pep8==1.7.1 pexpect==4.8.0 pickleshare==0.7.5 Pillow==7.0.0 pkginfo==1.5.0.1 plotly==4.8.1 pluggy==0.13.1 ply==3.11 proglog==0.1.9 prometheus-client==0.7.1 prompt-toolkit==3.0.3 Protego==0.1.16 protobuf==3.11.4 psutil==5.6.7 ptyprocess==0.6.0 py==1.8.1 py-spy==0.3.3 pyarrow==0.16.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycodestyle==2.6.0 pycosat==0.6.3 pycparser==2.19 pycrypto==2.6.1 pycurl==7.43.0.5 PyDispatcher==2.0.5 pydocstyle==4.0.1 pyecharts==0.5.11 pyecharts-javascripthon==0.0.6 pyecharts-jupyter-installer==0.0.3 pyecharts-snapshot==0.1.10 pyee==7.0.1 pyflakes==2.2.0 Pygments==2.5.2 PyHamcrest==2.0.2 pylint==2.4.4 pymongo==3.10.1 PyMySQL==0.9.3 pyobjc==6.2.2 pyobjc-core==6.2.2 pyobjc-framework-Accounts==6.2.2 pyobjc-framework-AddressBook==6.2.2 pyobjc-framework-AdSupport==6.2.2 pyobjc-framework-AppleScriptKit==6.2.2 pyobjc-framework-AppleScriptObjC==6.2.2 pyobjc-framework-ApplicationServices==6.2.2 pyobjc-framework-Automator==6.2.2 pyobjc-framework-AVFoundation==6.2.2 pyobjc-framework-AVKit==6.2.2 pyobjc-framework-BusinessChat==6.2.2 pyobjc-framework-CalendarStore==6.2.2 pyobjc-framework-CFNetwork==6.2.2 pyobjc-framework-CloudKit==6.2.2 pyobjc-framework-Cocoa==6.2.2 pyobjc-framework-Collaboration==6.2.2 pyobjc-framework-ColorSync==6.2.2 pyobjc-framework-Contacts==6.2.2 pyobjc-framework-ContactsUI==6.2.2 pyobjc-framework-CoreAudio==6.2.2 pyobjc-framework-CoreAudioKit==6.2.2 pyobjc-framework-CoreBluetooth==6.2.2 pyobjc-framework-CoreData==6.2.2 pyobjc-framework-CoreLocation==6.2.2 pyobjc-framework-CoreMedia==6.2.2 pyobjc-framework-CoreMediaIO==6.2.2 pyobjc-framework-CoreML==6.2.2 pyobjc-framework-CoreServices==6.2.2 pyobjc-framework-CoreSpotlight==6.2.2 pyobjc-framework-CoreText==6.2.2 pyobjc-framework-CoreWLAN==6.2.2 pyobjc-framework-CryptoTokenKit==6.2.2 pyobjc-framework-DictionaryServices==6.2.2 pyobjc-framework-DiscRecording==6.2.2 pyobjc-framework-DiscRecordingUI==6.2.2 pyobjc-framework-DiskArbitration==6.2.2 pyobjc-framework-DVDPlayback==6.2.2 pyobjc-framework-EventKit==6.2.2 pyobjc-framework-ExceptionHandling==6.2.2 pyobjc-framework-ExternalAccessory==6.2.2 pyobjc-framework-FinderSync==6.2.2 pyobjc-framework-FSEvents==6.2.2 pyobjc-framework-GameCenter==6.2.2 pyobjc-framework-GameController==6.2.2 pyobjc-framework-GameKit==6.2.2 pyobjc-framework-GameplayKit==6.2.2 pyobjc-framework-ImageCaptureCore==6.2.2 pyobjc-framework-IMServicePlugIn==6.2.2 pyobjc-framework-InputMethodKit==6.2.2 pyobjc-framework-InstallerPlugins==6.2.2 pyobjc-framework-InstantMessage==6.2.2 pyobjc-framework-Intents==6.2.2 pyobjc-framework-IOSurface==6.2.2 pyobjc-framework-iTunesLibrary==6.2.2 pyobjc-framework-LatentSemanticMapping==6.2.2 pyobjc-framework-LaunchServices==6.2.2 pyobjc-framework-libdispatch==6.2.2 pyobjc-framework-LocalAuthentication==6.2.2 pyobjc-framework-MapKit==6.2.2 pyobjc-framework-MediaAccessibility==6.2.2 pyobjc-framework-MediaLibrary==6.2.2 pyobjc-framework-MediaPlayer==6.2.2 pyobjc-framework-MediaToolbox==6.2.2 pyobjc-framework-Metal==6.2.2 pyobjc-framework-MetalKit==6.2.2 pyobjc-framework-ModelIO==6.2.2 pyobjc-framework-MultipeerConnectivity==6.2.2 pyobjc-framework-NaturalLanguage==6.2.2 pyobjc-framework-NetFS==6.2.2 pyobjc-framework-Network==6.2.2 pyobjc-framework-NetworkExtension==6.2.2 pyobjc-framework-NotificationCenter==6.2.2 pyobjc-framework-OpenDirectory==6.2.2 pyobjc-framework-OSAKit==6.2.2 pyobjc-framework-Photos==6.2.2 pyobjc-framework-PhotosUI==6.2.2 pyobjc-framework-PreferencePanes==6.2.2 pyobjc-framework-QTKit==6.2.2 pyobjc-framework-Quartz==6.2.2 pyobjc-framework-SafariServices==6.2.2 pyobjc-framework-SceneKit==6.2.2 pyobjc-framework-ScreenSaver==6.2.2 pyobjc-framework-ScriptingBridge==6.2.2 pyobjc-framework-SearchKit==6.2.2 pyobjc-framework-Security==6.2.2 pyobjc-framework-SecurityFoundation==6.2.2 pyobjc-framework-SecurityInterface==6.2.2 pyobjc-framework-ServiceManagement==6.2.2 pyobjc-framework-Social==6.2.2 pyobjc-framework-SpriteKit==6.2.2 pyobjc-framework-StoreKit==6.2.2 pyobjc-framework-SyncServices==6.2.2 pyobjc-framework-SystemConfiguration==6.2.2 pyobjc-framework-UserNotifications==6.2.2 pyobjc-framework-VideoSubscriberAccount==6.2.2 pyobjc-framework-VideoToolbox==6.2.2 pyobjc-framework-Vision==6.2.2 pyobjc-framework-WebKit==6.2.2 pyodbc===4.0.0-unsupported pyOpenSSL==19.1.0 pyparsing==2.4.6 PyPDF2==1.26.0 pypinyin==0.39.0 pyppeteer==0.0.25 pyproj==2.6.0 pyrsistent==0.15.7 PySocks==1.7.1 pytest==5.3.5 pytest-arraydiff==0.3 pytest-astropy==0.8.0 pytest-astropy-header==0.1.2 pytest-doctestplus==0.5.0 pytest-openfiles==0.4.0 pytest-remotedata==0.3.2 python-dateutil==2.8.1 python-docx==0.8.10 python-jsonrpc-server==0.3.4 python-language-server==0.34.1 python-slugify==4.0.1 pytimeparse==1.1.8 pyttsx3==2.90 pytz==2019.3 PyWavelets==1.1.1 PyYAML==5.3 pyzmq==18.1.1 QDarkStyle==2.8 qrcode==6.1 QtAwesome==0.6.1 qtconsole==4.6.0 QtPy==1.9.0 queuelib==1.5.0 ray==0.8.4 redis==3.4.1 reportlab==3.5.46 requests==2.22.0 requests-oauthlib==1.3.0 requests-toolbelt==0.9.1 retrying==1.3.3 rope==0.16.0 rsa==4.0 Rtree==0.9.3 ruamel-yaml==0.15.87 s3transfer==0.3.3 scikit-image==0.16.2 scikit-learn==0.22.2.post1 scipy==1.4.1 Scrapy==2.1.0 scrapy-redis==0.6.8 seaborn==0.9.0 selenium==3.141.0 Send2Trash==1.5.0 service-identity==18.1.0 Shapely==1.7.0 simplegeneric==0.8.1 simplejson==3.17.0 singledispatch==3.4.0.3 six==1.14.0 smart-open==1.11.1 snowballstemmer==2.0.0 sortedcollections==1.1.2 sortedcontainers==2.1.0 soupsieve==1.9.5 Sphinx==2.4.0 sphinxcontrib-applehelp==1.0.1 sphinxcontrib-devhelp==1.0.1 sphinxcontrib-htmlhelp==1.0.2 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.2 sphinxcontrib-serializinghtml==1.1.3 sphinxcontrib-websupport==1.2.0 spyder==4.1.5 spyder-kernels==1.9.4 SQLAlchemy==1.3.13 statsmodels==0.11.0 stylecloud==0.5.1 sympy==1.5.1 tables==3.6.1 tabulate==0.8.7 tblib==1.6.0 tencentcloud-sdk-python==3.0.200 tensorboard==2.1.1 tensorflow==2.1.0 tensorflow-estimator==2.1.0 termcolor==1.1.0 terminado==0.8.3 testpath==0.4.4 text-unidecode==1.3 tinycss==0.4 toolz==0.10.0 tornado==6.0.3 tqdm==4.42.1 traitlets==4.3.3 tushare==1.2.59 Twisted==20.3.0 ujson==1.35 unicodecsv==0.14.1 urllib3==1.25.8 w3lib==1.21.0 watchdog==0.10.2 wcwidth==0.1.8 webencodings==0.5.1 websocket-client==0.57.0 websockets==8.1 Werkzeug==1.0.0 widgetsnbextension==3.5.1 wkhtmltopdf==0.2 wordcloud==1.7.0 wrapt==1.11.2 wurlitzer==2.0.0 xgboost==0.90 xlrd==1.2.0 XlsxWriter==1.2.7 xlwings==0.17.1 xlwt==1.3.0 xmltodict==0.12.0 yapf==0.28.0 yarl==1.4.2 zict==1.0.0 zipp==2.2.0 zope.interface==5.1.0
在新的环境中安装导出的包
pip install -r piplist.txt
【说明】
1、相当于把本地环境备份了,后续迁移环境,不需要一个个安装,直接批量覆盖即可
2、注意文件存放位置:文件目录/piplist.txt
pwd查看
-------------------------------
********厚德达理,励志勤工********
-------------------------------