python中什么是 pip
生活随笔
收集整理的這篇文章主要介紹了
python中什么是 pip
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
python中什么是 pip?針對這個問題,這篇文章詳細介紹了相對應的分析和解答,希望可以幫助更多想解決這個問題的小伙伴找到更簡單易行的方法。
Python主要用來做什么
Python主要應用于:1、Web開發;2、數據科學研究;3、網絡爬蟲;4、嵌入式應用開發;5、游戲開發;6、桌面應用開發。
1、說明
pip是一個安裝和管理Python包的工具,python安裝包的工具有easy_install, setuptools, pip,distribute等。而pip是easy_install的替代品。pip作為包管理器。這意味著它是一個工具,允許你安裝和管理不屬于標準庫的其他庫和依賴。
2、使用
安裝后在命令行中鍵入:pip+ 回車,就會出現如下使用說明:
Usage: pip<command>[options] Commands: installInstallpackages. downloadDownloadpackages. uninstallUninstallpackages. freezeOutputinstalledpackagesinrequirementsformat. listListinstalledpackages. showShowinformationaboutinstalledpackages. checkVerifyinstalledpackageshavecompatibledependencies. configManagelocalandglobalconfiguration. searchSearchPyPIforpackages. wheelBuildwheelsfromyourrequirements. hashComputehashesofpackagearchives. completionAhelpercommandusedforcommandcompletion. helpShowhelpforcommands. GeneralOptions: -h,--helpShowhelp. --isolatedRunpipinanisolatedmode,ignoringenvironmentvariablesanduserconfiguration. -v,--verboseGivemoreoutput.Optionisadditive,andcanbeusedupto3times. -V,--versionShowversionandexit. -q,--quietGivelessoutput.Optionisadditive,andcanbeusedupto3times(correspondingto WARNING,ERROR,andCRITICALlogginglevels). --log<path>Pathtoaverboseappendinglog. --proxy<proxy>Specifyaproxyintheform[user:passwd@]proxy.server:port. --retries<retries>Maximumnumberofretrieseachconnectionshouldattempt(default5times). --timeout<sec>Setthesockettimeout(default15seconds). --exists-action<action>Defaultactionwhenapathalreadyexists:(s)witch,(i)gnore,(w)ipe,(b)ackup, (a)bort). --trusted-host<hostname>Markthishostastrusted,eventhoughitdoesnothavevalidoranyHTTPS. --cert<path>PathtoalternateCAbundle. --client-cert<path>PathtoSSLclientcertificate,asinglefilecontainingtheprivatekeyandthe certificateinPEMformat. --cache-dir<dir>Storethecachedatain<dir>. --no-cache-dirDisablethecache. --disable-pip-version-check Don'tperiodicallycheckPyPItodeterminewhetheranewversionofpipisavailablefor download.Impliedwith--no-index. --no-colorSuppresscoloredoutput
總結
以上是生活随笔為你收集整理的python中什么是 pip的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 初始化mysql的数据库失败_初始化my
- 下一篇: 网站不大但加载很慢怎么优化_博客网站首页