python:easy_install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:easy_install [2016/01/01 16:33] ともやんpython:easy_install [2019/08/19 06:58] (現在) ともやん
行 1: 行 1:
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<!-- big-barner --> 
-<ins class="adsbygoogle" 
-     style="display:inline-block;width:728px;height:90px" 
-     data-ad-client="ca-pub-0791334967460971" 
-     data-ad-slot="3042908851"></ins> 
-<script> 
-(adsbygoogle = window.adsbygoogle || []).push({}); 
-</script> 
-</html></ifauth> 
- 
 ====== easy_install、setuptools、pip - パッケージ管理 ====== ====== easy_install、setuptools、pip - パッケージ管理 ======
 +
 +===== Linux & Mac 編(get-pip.pyの場合) =====
 +<code>
 +$ curl -O https://bootstrap.pypa.io/get-pip.py
 +  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
 +                                 Dload  Upload   Total   Spent    Left  Speed
 +100 1558k  100 1558k    0      2221k      0 --:--:-- --:--:-- --:--:-- 2222k
 +</code>
 +<code>
 +$ sudo python get-pip.py
 +Collecting pip
 +  Downloading pip-9.0.1-py2.py3-none-any.whl (1.3MB)
 +    100% |████████████████████████████████| 1.3MB 913kB/
 +Collecting setuptools
 +  Downloading setuptools-34.3.1-py2.py3-none-any.whl (389kB)
 +    100% |████████████████████████████████| 399kB 2.1MB/s
 +〜省略〜
 +Installing collected packages: pip, six, appdirs, pyparsing, packaging, setuptools, wheel
 +Successfully installed appdirs-1.4.3 packaging-16.8 pip-9.0.1 pyparsing-2.2.0 setuptools-34.3.1 six-1.10.0 wheel-0.29.0
 +</code>
 +<code>
 +$ pip --version
 +pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)
 +</code>
 +<code>
 +$ easy_install --help
 +
 +Global options:
 +  --verbose (-v)  run verbosely (default)
 +  --quiet (-q)    run quietly (turns verbosity off)
 +〜省略〜
 +</code>
  
 ===== Linux & Mac 編(ez_setup.pyの場合) ===== ===== Linux & Mac 編(ez_setup.pyの場合) =====
 +<WRAP prewrap 100%>
   - ez_setup.py をダウンロード。<code>   - ez_setup.py をダウンロード。<code>
 $ curl -O https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py $ curl -O https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
行 89: 行 110:
 pip 1.1 from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg (python 2.7) pip 1.1 from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.1-py2.7.egg (python 2.7)
 </code> </code>
 +</WRAP>
  
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<ins class="adsbygoogle" 
-     style="display:inline-block;width:200px;height:200px" 
-     data-ad-client="ca-pub-0791334967460971" 
-     data-ad-slot="3038031481"></ins> 
-<script> 
-(adsbygoogle = window.adsbygoogle || []).push({}); 
-</script> 
-</html></ifauth> 
 ===== Linux編(yumの場合) ===== ===== Linux編(yumの場合) =====
  yumで導入する場合は、以下のコマンドで行うことができる。  yumで導入する場合は、以下のコマンドで行うことができる。
行 113: 行 125:
 $ sudo apt-get install python-pip $ sudo apt-get install python-pip
 </code> </code>
 +
 ===== Windows編 ===== ===== Windows編 =====
 +<WRAP prewrap 100%>
   - [[http://peak.telecommunity.com/|PEAK - The Python Enterprise Application Kit]]より[[http://peak.telecommunity.com/dist/ez_setup.py|ez_setup.py]]をダウンロードする。   - [[http://peak.telecommunity.com/|PEAK - The Python Enterprise Application Kit]]より[[http://peak.telecommunity.com/dist/ez_setup.py|ez_setup.py]]をダウンロードする。
   - ダウンロードした ez_setup.py を実行してインストールを行う。<code>   - ダウンロードした ez_setup.py を実行してインストールを行う。<code>
行 152: 行 166:
 dc69d76734568a6c040508 dc69d76734568a6c040508
 Processing pip-1.1.tar.gz Processing pip-1.1.tar.gz
-Running pip-1.1\setup.py -q bdist_egg --dist-dir c:\users\nakayama\appdata\local\temp\+Running pip-1.1\setup.py -q bdist_egg --dist-dir c:\users\tomoyan\appdata\local\temp\
 easy_install-oqpnzh\pip-1.1\egg-dist-tmp-9on5uw easy_install-oqpnzh\pip-1.1\egg-dist-tmp-9on5uw
 warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.html' under directory 'docs'
行 174: 行 188:
 pip 1.1 from c:\python27\lib\site-packages\pip-1.1-py2.7.egg (python 2.7) pip 1.1 from c:\python27\lib\site-packages\pip-1.1-py2.7.egg (python 2.7)
 </code> </code>
 +</WRAP>
  
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<ins class="adsbygoogle" 
-     style="display:inline-block;width:200px;height:200px" 
-     data-ad-client="ca-pub-0791334967460971" 
-     data-ad-slot="3038031481"></ins> 
-<script> 
-(adsbygoogle = window.adsbygoogle || []).push({}); 
-</script> 
-</html></ifauth> 
 ===== easy_install でProxyサーバを利用する方法(Windows編) ===== ===== easy_install でProxyサーバを利用する方法(Windows編) =====
  easy_install が利用する urllib2 に Proxy の設定を教えるためには、環境変数 HTTP_PROXY を以下のように設定する。\\  easy_install が利用する urllib2 に Proxy の設定を教えるためには、環境変数 HTTP_PROXY を以下のように設定する。\\
行 194: 行 199:
 set HTTP_PROXY=http://user:pass@your-proxy.co.jp:8080 set HTTP_PROXY=http://user:pass@your-proxy.co.jp:8080
 </code> </code>
 +
 ===== NTLM認証Proxyサーバ(ntlmaps)を利用する方法(Windows編) ===== ===== NTLM認証Proxyサーバ(ntlmaps)を利用する方法(Windows編) =====
  NTLM認証Proxyサーバを経由してインストールを行う場合は、以下の手順にて行う。  NTLM認証Proxyサーバを経由してインストールを行う場合は、以下の手順にて行う。
行 202: 行 208:
 PARENT_PROXY:your_parentproxy    -> proxy.xxx.co.jp PARENT_PROXY:your_parentproxy    -> proxy.xxx.co.jp
 NT_DOMAIN:your_domain            -> xxx.co.jp NT_DOMAIN:your_domain            -> xxx.co.jp
-USER:username_to_use             -> tomoyan596+USER:username_to_use             -> tomoyan
 PASSWORD:your_nt_password        -> password PASSWORD:your_nt_password        -> password
 </code> </code>
行 218: 行 224:
 </code> </code>
  
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<!-- big-barner --> 
-<ins class="adsbygoogle" 
-     style="display:inline-block;width:728px;height:90px" 
-     data-ad-client="ca-pub-0791334967460971" 
-     data-ad-slot="3042908851"></ins> 
-<script> 
-(adsbygoogle = window.adsbygoogle || []).push({}); 
-</script> 
-</html></ifauth> 
  • python/easy_install.1451633618.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)