Skip to content

ImportError: cannot import name 'API' from 'tweepy' (unknown location) #30

Description

@tarensss

Hi I am using a 2020 mac book air

I am getting this error the same issue was closed but it worked on Windows.
I am using the recent Twitter API.

/Users/apple/project/Mining-twitter-data-with-pyth
on/Tweet/my_env/bin/python /Users/apple/project/Mining-twitter-data-with-python/Tweet/tw
itter_get_home_timeline.py
Traceback (most recent call last):
File "/Users/apple/project/Mining-twitter-data-with-python/Tweet/twitter_get_home_timeline.py", line 14, in
from twitter_client import get_twitter_client
File "/Users/apple/project/Mining-twitter-data-with-python/Tweet/twitter_client.py", line 11, in
from tweepy import API
ImportError: cannot import name 'API' from 'tweepy' (unknown location)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions