2017-07-25 84 views
0

當我嘗試安裝任何軟件包,並與PIP安裝任何軟件包我得到以下錯誤:不能與PIP

Could not find a version that satisfies the requirement sendgrid==4.2.0 (from versions:)

爲例着想:

pip search sendgrid 
> ... 
> sendgrid (4.2.0)     - SendGrid library for Python 
> ... 

pip install sendgrid 
> Collecting sendgrid 
> Could not find a version that satisfies the requirement sendgrid (from versions:) 
> No matching distribution found for sendgrid 

同理:

pip search vcr 
>amivcrm (0.1)    - A simple connector to the AMIV SugarCRM 
>betamax-matchers (0.4.0) - A VCR imitation for python-requests 
>betamax (0.8.0)   - A VCR imitation for python-requests 
>cubicweb-vcrs (0.2.1)  - vcreview statistics 
>cubicweb-vcreview (2.4.0) - patch review system on top of vcsfile 
>devcron (0.4)    - Cron for working on projects that use 
>crontabs. 
>httpsrvvcr (0.1.9)   - VCR recording proxy-server for usage with 
>vcr (0.0.9)    - VCR - decorator for capturing and simulating network communication 
>vcrpy (1.11.1)    - Automatically mock your HTTP interactions to simplify and speed up 
         testing 

pip install vcr==0.0.9 
>Collecting vcr==0.0.9 
>Could not find a version that satisfies the requirement vcr==0.0.9 (from versions:) 
>No matching distribution found for vcr==0.0.9 

在virtualenv中運行python 3.6 的Mac OSX塞拉利昂10.12.5(16F2073)

which pip 
>pip: aliased to noglob pip 
+0

-vvv sendgrid' –

+0

版本畫中畫PIP'搜索的輸出粘貼? – Paddy

+0

pip -V:pip 9.0.1來自.../lib/python3.6/site-packages(python 3.6) –

回答

1

運行命令:

pip install sendgrid --isolated 

作品