![](/img/trans.png)
[英]How do I install the Python psutil library on a Windows XP machine without an internet connection?
[英]how can I install “pip wheel” on a machine without internet connection?
我們有一台沒有網絡連接的產品服務器機器,我希望能夠執行“撥輪”。
我已經下載了virtualenv-1.9.tar.gz
復制到產品服務器並提取了它。 首先,為什么不能立即使用pip wheel?
[ihadanny@lvshdc2en0012 ~]$ ./virtualenv-1.9/virtualenv.py venv/v1
New python executable in venv/v1/bin/python
Installing setuptools............done.
Installing pip...............done.
[ihadanny@lvshdc2en0012 ~]$ source venv/v1/bin/activate
(v1)[ihadanny@lvshdc2en0012 ~]$ which pip
~/venv/v1/bin/pip
(v1)[ihadanny@lvshdc2en0012 ~]$ pip wheel
ERROR: unknown command "wheel" - maybe you meant "help"
我已經開始下載並復制wheel-0.24.0.tar.gz
,但是那只安裝了wheel
,而不是pip wheel
:
(v1)[ihadanny@lvshdc2en0012 ~]$ pip install wheel-0.24.0.tar.gz
Unpacking ./wheel-0.24.0.tar.gz
Running setup.py egg_info for package from file:///x/home/ihadanny/wheel-0.24.0.tar.gz
no previously-included directories found matching 'wheel/test/*/dist'
no previously-included directories found matching 'wheel/test/*/build'
Installing collected packages: wheel
Running setup.py install for wheel
no previously-included directories found matching 'wheel/test/*/dist'
no previously-included directories found matching 'wheel/test/*/build'
Installing wheel script to /x/home/ihadanny/venv/v1/bin
Successfully installed wheel
Cleaning up...
(v1)[ihadanny@lvshdc2en0012 ~]$ pip wheel
ERROR: unknown command "wheel" - maybe you meant "help"
編輯:我也嘗試了pip install wheel
無濟於事
(v1)[ihadanny@lvshdc2en0012 ~]$ pip install wheel
Requirement already satisfied (use --upgrade to upgrade): wheel in ./venv/v1/lib/python2.6/site-packages
Cleaning up...
(v1)[ihadanny@lvshdc2en0012 ~]$ pip wheel
ERROR: unknown command "wheel" - maybe you meant "help"
並且upgrade
當然行不通(沒有互聯網連接...)
(v1)[ihadanny @ lvshdc2en0012〜] $ pip install --upgrade wheel無法獲取索引基本URL https://pypi.python.org/simple/
我想念什么?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.