当我尝试使用pip安装任何软件包时,我收到以下错误:
n = 200000 #chunk row size
list_df = [df[i:i+n] for i in range(0,df.shape[0],n)]
为了举个例子:
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
在virtualenv中运行python 3.6 mac osx Sierra 10.12.5(16F2073)
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
答案 0 :(得分:1)
运行命令:
pip install sendgrid --isolated
作品