python,通用数据爬网没有凭据错误

时间:2017-11-26 22:48:20

标签: python amazon-s3 boto common-crawl

我正在尝试基于的示例公共数据爬网示例 https://engineeringblog.yelp.com/2015/03/analyzing-the-web-for-the-price-of-a-sandwich.html

我根据说明在我的本地Windows PC上运行以下命令。

python mr_crawl_phonenumbers.py -r emr s3://aws-publicdatasets/common-crawl/crawl-data/CC-MAIN-2014-52/wet.paths.gz s3://yelp/business_data.txt

但我收到以下错误。

raise NoCredentialsError
botocore.exceptions.NoCredentialsError: Unable to locate credentials

我是新手,我是否需要设置任何凭据。如果是,请如何在本地PC中进行设置。

非常感谢任何帮助。

0 个答案:

没有答案