-
Notifications
You must be signed in to change notification settings - Fork 956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: __init__() got an unexpected keyword argument 'allowed_methods' #647
Comments
Hello. If you do |
Oh, thank you. I've upgraded urllib3 and now it's working! |
It's strange though, it should have updated automatically when doing Let's see if someone else complains about it |
Hello, I also encounter the same error message as mentioned above. Upgrading urllib3 fix the error. Urllib3 was not updated automatically when I update this package. Here's the output when I updated Spotipy package.
|
requests 2.25.0 wasn't forcing update of urllib3 to 1.26.0. Should be fine now on spotipy 2.17.1
Thanks for reporting! |
oh i got a little tip on this error, if you're outside of the countries that spotify works eg [ US, France etc ], you'd get this error without a vpn, just use vpn and it'll work :) |
This error was caused by using the wrong version of urllib3. How could it have anything to do with the country that you are in? The error occurs before any web API requests are even made. |
Good night people, Would there be another way to resolve this error? |
@jenniferstefaniks can you please answer the question above and we'll try to help |
Good night, they are in the current version. urllib3>=1.26.0
requests>=2.25.0 I'm using collab notebook
Em sáb., 21 de ago. de 2021 às 21:56, Stéphane Bruckert <
***@***.***> escreveu:
… Hello. If you do pip list or pip3 list, what version do you have for
requests and urllib3? You should have urllib3>=1.26 and requests>=2.25
@jenniferstefaniks <https://github.com/jenniferstefaniks> can you please
answer the question above and we'll try to help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#647 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMDU5BSMUC77VZ2LZ2DTAE3T6BDM3ANCNFSM4YK7V6GA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Hi, I am receiving the same error message. spotipy, requests and urllib3 are up to date: I'm using ubuntu EC2 AWS with Python 3.8.10.
|
On colab:
Then restart the runtime for it to work. |
hello ! |
@sebastienmaurette please share your versions of requests and urllib3
|
|
When this code
|
Hi, i started to get this error after update. Month ago it worked perfectly fine. I am new to python so maybe i am doing something wrong.
And I get this response
When I changed it to this as in docs
sp = spotipy.Spotify(auth_manager=SpotifyClientCredentials(client_id = 'my_client_id', client_secret = 'my_client_secret'))
i still have the same error.
The text was updated successfully, but these errors were encountered: