question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: unable to locate credentials

See original GitHub issue

Hi,

I’m trying to embed sentences programmatically following the guide in the readme (thanks for it)

The command: model = ModelArchiveFromParams.from_params(params=params) returns me the error Error: unable to locate credentials after downloading the model.

How can I fix this error?

P.S. Happy new year

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
matt-peterscommented, Jun 2, 2020

FYI, the configuration files in training_config/ on master now use the https URL instead of s3

1reaction
matt-peterscommented, Jun 2, 2020

It is the s3 references. You can replace any occurrence of s3://allennlp with https://allennlp.s3-us-west-2.amazonaws.com and it should work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve "Unable to locate credentials" error in Amazon S3
An "Unable to locate credentials" error indicates that Amazon S3 can't find the credentials to authenticate AWS API calls. To resolve this issue ......
Read more >
Resolve "Unable to locate credentials" error in Amazon S3
An "Unable to locate credentials" error indicates that Amazon S3 can't find the credentials to authenticate AWS API calls. To resolve this issue, ......
Read more >
Bash with AWS CLI - unable to locate credentials
The unable to locate credentials error usually occurs when working with different aws profiles and the current terminal can't identify the ...
Read more >
AWS CLI Unable To Locate Credentials | How To Fix? - Skynats
To resolve the issue of being unable to locate credentials in AWS CLI, our Support team recommends that the user perform all AWS...
Read more >
AWS CLI Unable To Locate Credentials | A Quick Fix - Bobcares
An “Unable to locate credentials” error indicates that Amazon S3 can't find the credentials to authenticate AWS API calls. In this article, our ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found