2017-02-08 6 views
0

私はopenAIジム(強化学習アルゴリズムの開発と比較のためのツールキット)の完全なライブラリをpipの助けを借りてインストールしようとしています。しかし、何度も何度も同じエラーが発生しています。私は問題を解決するためにネット上にあるすべてを試したが、方法を得るのを助けるit.plzを作ることができない。ここ はOpenAIジムをインストールできない

[email protected]:~/gym$ sudo pip install -e .[all] 
The directory '/home/mukesh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. 
The directory '/home/mukesh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. 
Obtaining file:///home/mukesh/gym 
Requirement already satisfied: numpy>=1.10.4 in /home/mukesh/.local/lib/python2.7/site-packages (from gym==0.7.3) 
Requirement already satisfied: requests>=2.0 in /home/mukesh/.local/lib/python2.7/site-packages (from gym==0.7.3) 
Requirement already satisfied: six in /home/mukesh/.local/lib/python2.7/site-packages (from gym==0.7.3) 
Requirement already satisfied: pyglet>=1.2.0 in /home/mukesh/.local/lib/python2.7/site-packages (from gym==0.7.3) 
Requirement already satisfied: PyOpenGL in /usr/lib/python2.7/dist-packages (from gym==0.7.3) 
Collecting box2d-py (from gym==0.7.3) 
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/box2d-py/ 
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/box2d-py/ 
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/box2d-py/ 
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/box2d-py/ 
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/box2d-py/ 
    Could not find a version that satisfies the requirement box2d-py (from gym==0.7.3) (from versions:) 
No matching distribution found for box2d-py (from gym==0.7.3) 

答えて

0

あなたがプロキシの背後にあるので、それはあなたのプロキシを使用するようにセットアップピップに必要---私のコードです。例えば

[user:[email protected]]proxy.server:port 

pip --proxy http://<your proxy>:<your port> (for http) 
pip --proxy https://<your proxy>:<your port> (for https) 
基本的な形式は、この形式のものです
関連する問題