Skip to content
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

cannot import name 'API' from 'twitch.api' #9

Open
mspapant opened this issue Nov 8, 2019 · 3 comments
Open

cannot import name 'API' from 'twitch.api' #9

mspapant opened this issue Nov 8, 2019 · 3 comments

Comments

@mspapant
Copy link

mspapant commented Nov 8, 2019

Hello!

I tried to create an example but unfortunately i get the following error:

ImportError: cannot import name 'API' from 'twitch.api' (/home/mspapant/PycharmProjects/twitch-scraper/venv/lib/python3.7/site-packages/twitch/api/init.py)

Do you know what is the problem?

Thanks

@tfzee
Copy link

tfzee commented Mar 21, 2020

i got the same error when upgrading from an older version try fully deleting and reinstalling then it worked for me

@tfzee
Copy link

tfzee commented Mar 21, 2020

you should also make sure to not mix twitch-python(this) and python-twitch-client(https://github.com/tsifrer/python-twitch-client) because they use both the name twitch for import

@MarcusPaschoalucci
Copy link

My friends, when you say reinstalling, you reffer to the twitch-python package? Or something else? I tried to reinstall it several times by now, and it still gives me this error or the " cannot import name 'Helix' from 'twitch'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants