ImportError: cannot import name ‘TwitterRestPager’ from ‘TwitterAPI’ (C:\Users\My name \Anaconda3\lib\site-packages\TwitterAPI\

I'm trying to import TwitterRestPager, but keep getting the error

"cannot import name 'TwitterRestPager' from 'TwitterAPI' (C:\Users\My name\Anaconda3\lib\site-packages\ "

-- (the My Name in the file path is my actual name just replaced for privacy purposes)

I already updated both requests and TwitterApi.

Here is the code I'm trying to run:

! pip install TwitterAPI ! pip install TwitterAPI --upgrade from TwitterAPI import TwitterRestPager

Read more here:

Content Attribution

This content was originally published by NewGB at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: