pip install package 時若遇到 AttributeError: _DistInfoDistribution__dep_map 時,那表示你的 pip 跟 setuptools 可能版本不合
2015-03-10
2014-08-09
pip install failed w/ message "error: invalid command 'egg_info'"
當使用 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
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
標籤:
安裝,
easy_install,
pip,
python
2014-07-28
cx_Freeze 安裝到 python 3.1 以後版本遇到的問題解決辦法(無廢話)
如果你安裝 cx_Freeze 遇到類似以下訊息
In file included from source/bases/Console.c:41:0:
source/bases/Common.c: In function ‘ExecuteScript’:
source/bases/Common.c:307:5: warning: passing argument 1 of ‘PyEval_EvalCode’ from incompatible pointer type [enabled by default]
2014-06-23
pip 安裝錯誤
你是否遇到這種安裝錯誤訊息?
user@ub1004:~$ pip install pinax
Downloading/unpacking pinax
Could not find a version that satisfies the requirement pinax (from versions: 0.9a2)
Cleaning up...
No distributions matching the version for pinax
Storing debug log for failure in /home/user/.pip/pip.log
user@ub1004:~$ pip install pinax
Downloading/unpacking pinax
Could not find a version that satisfies the requirement pinax (from versions: 0.9a2)
Cleaning up...
No distributions matching the version for pinax
Storing debug log for failure in /home/user/.pip/pip.log
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)