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

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\TwitterAPI_init_.py) "

-- (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: https://stackoverflow.com/questions/64939402/importerror-cannot-import-name-twitterrestpager-from-twitterapi-c-users-m

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: