當使用 pip 安裝 package 時若遇到以下錯誤訊息
C:\>pip install django-social-auth3
Downloading/unpacking django-social-auth3
Running setup.py (path:c:\docume~1\admini~1\locals~1\temp\pip_build_Administrator\django-social-auth3\setup.
py) egg_info for package django-social-auth3
...
...
...
error: invalid command 'egg_info'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in c:\docume~1\admini~1\locals~1\temp\pip_build_Admi
nistrator\django-social-auth3
Storing debug log for failure in C:\Documents and Settings\Administrator\pip\pip.log
2014-08-09
2014-04-22
Python 安裝 SetupTools(easy_install, pip)
1. 首先到這裡(ez_setup.py)下載 ez_setup.py
2. 執行以下指令
#wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
如果你遇到
ERROR: cannot verify bitbucket.org's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1':
Unable to locally verify the issuer's authority.
To connect to bitbucket.org insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
則表示你的系統不支援驗證 SSL, 請依指示加上參數--no-check-certificate
標籤:
安裝,
easy_install,
pip,
python
訂閱:
文章 (Atom)