pip install如何使用 pip install

pip install  时间:2022-02-23  阅读:()

python中pip install怎样安装,求从下载到成功的具体步骤

1. Download the package(.whl file) from the website 2. Copy the .whl file into the C:Python34Scripts 3. run mand prompt and path is C:Python34Scripts 4. type"pip install XXXXX.whl" PS: some high-level package need to install other packages before ordinglywhich would be seen in mand window

如何使用 pip install

1、pip下载安装 1.1 pip下载 # wget "/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate 1.2 pip安装 # tar -xzvf pip-1.5.4.tar.gz # cd pip-1.5.4 # Python setup.py install 2. pip使用详解 2.1 pip安装软件 # pip install SomePackage [...] essfully installed SomePackage 2.2 pip查看已安装的软件 # pip show --files SomePackage Name: SomePackage Version: 1.0 Location: /my/env/lib/pythonx.x/site-packages Files: ../somepackage/__init__.py [...] 2.3 pip检查哪些软件需要更新 # pip list --outdated SomePackage (Current: 1.0 Latest: 2.0) 2.4 pip升级软件 # pip install --upgrade SomePackage [...] Found existing installation: SomePackage 1.0 Uninstalling SomePackage: essfully uninstalled SomePackage Running setup.py install for SomePackage essfully installed SomePackage 2.5 pip卸载软件 $ pip uninstall SomePackage Uninstalling SomePackage: /my/env/lib/pythonx.x/site-packages/somepackage Proceed (y/n)? y essfully uninstalled SomePackage 3. pip使用实例 3.1 安装Redis # pip install redis 3.2 卸载redis # pip uninstall redis Uninstalling redis: /usr/lib/python2.6/site-packages/redis-2.9.1-py2.6.egg-info .....省略一些内容.... Proceed (y/n)? y essfully uninstalled redis 3.3 查看待更新软件 pip list --outdate pygpgme (Current: 0.1 Latest: 0.3) pycurl (Current: 7.19.0 Latest: 7.19.3.1) iniparse (Current: 0.3.1 Latest: 0.4) 4. 常见错误 4.1 ImportError No module named setuptools 请参考《ImportError No module named setuptools解决》 5. pip参数解释 # pip --help Usage: pip &mand> [options] Commands: install 安装软件. uninstall 卸载软件. freeze 按着一定格式输出已安装软件列表 list 列出已安装软件. show 显示软件详细信息. search 搜索软件,类似yum里的search. wheel Build wheels from your requirements. zip 不推荐. Zip individual packages. unzip 不推荐. Unzip individual packages. bundle 不推荐. Create pybundles. help 当前帮助. General Options: -h, --help 显示帮助. -v, --verbose 更多的输出,最多可以使用3次 -V, --version 现实版本信息然后退出. -q, --quiet 最少的输出. --log-file <path> 覆盖的方式记录verbose错误日志,默认文件:/root/.pip/pip.log --log <path> 不覆盖记录verbose输出的日志. --proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port. --timeout <sec> 连接超时时间 (默认15秒). --exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup. --cert <path> 证书. 6. 结束 安装使用一目了然,太简单了。老板再也不要我安装软件了。

RAKsmart便宜美国/日本/中国香港VPS主机 低至月$1.99 可安装Windows

RAKsmart 商家这几年还是在做事情的,虽然他们家顺带做的VPS主机并不是主营业务,毕竟当下的基础云服务器竞争过于激烈,他们家主营业务的独立服务器。包括在去年开始有新增多个数据中心独立服务器,包括有10G带宽的不限流量的独立服务器。当然,如果有需要便宜VPS主机的他们家也是有的,比如有最低月付1.99美元的美国VPS主机,而且可选安装Windows系统。这里商家有提供下面六款六月份的活动便宜V...

Sharktech云服务器35折年付33美元起,2G内存/40G硬盘/4TB流量/多机房可选

Sharktech又称SK或者鲨鱼机房,是一家主打高防产品的国外商家,成立于2003年,提供的产品包括独立服务器租用、VPS云服务器等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等。之前我们经常分享商家提供的独立服务器产品,近期主机商针对云虚拟服务器(CVS)提供优惠码,优惠后XS套餐年付最低仅33.39美元起,支持使用支付宝、PayPal、信用卡等付款方式。下面以XS套餐为例,分享产品配...

TMTHosting:夏季优惠,美国西雅图VPS月付7折,年付65折,美国服务器95折AS4837线路

tmthosting怎么样?tmthosting家本站也分享过多次,之前也是不温不火的商家,加上商家的价格略贵,之到斯巴达商家出现,这个商家才被中国用户熟知,原因就是斯巴达家的机器是三网回程AS4837线路,而且也没有多余的加价,斯巴达家断货后,有朋友发现TMTHosting竟然也在同一机房,所以大家就都入手了TMTHosting家的机器。目前,TMTHosting商家放出了夏季优惠,针对VPS推...

pip install为你推荐
ipad怎么分屏苹果ipad 分屏功能怎么使用fclose为什么fclose之后remove还是不成功最开放的浏览器用的最多的三个浏览器是?rdl电脑主机上的dvd+rdl是什么意思网关和路由器的区别网关和路由器的具体区别在哪里呀?tvosTVOS系统是什么?inode智能客户端inode智能客户端无法正常启动,根本开都开不了数秦科技奇秦科技是做什么的,大家了解过吗?spawning在c语言编译时出现Error spawning cl.exe,是怎么回事?有b吗有什么好看的b级片
电影服务器 免备案cdn 免费网站申请 anylink 国外代理服务器地址 稳定免费空间 paypal注册教程 支持外链的相册 华为云服务登录 免费外链相册 空间登陆首页 全能空间 西安主机 免费网络空间 万网服务器 asp介绍 优惠服务器 linux服务器系统 zencart安装 hosts文件 更多