tweepy / tweepy

Twitter for Python!
https://www.tweepy.org
MIT License
10.45k stars 4.6k forks source link

no module named tweepy.streaming and tweepy is not a package #1011

Closed hadhila closed 5 years ago

hadhila commented 6 years ago

hi i am getting the error message as from tweepy.streaming import StreamListener ModuleNotFoundError: No module named 'tweepy.streaming'; 'tweepy' is not a package please help me

hadhila commented 6 years ago

please help me as soon as possible.

fitnr commented 6 years ago

It seems like you haven't properly installed tweepy. On your command line, try running pip install --user tweepy again.

hadhila commented 6 years ago

Thank you so much. It worked for me.

KC2016 commented 5 years ago

It seems like you haven't properly installed tweepy. On your command line, try running pip install --user tweepy again.

I tried this but I received: WARNING: No metadata found in c:\users...\anaconda3\envs\p3.6\lib\site-packages ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'c:\users\...\anaconda3\envs\p3.6\lib\site-packages\tweepy-3.8.0.dist-info\METADATA'

What can I do?

MahmoodabadiHamid commented 4 years ago

Hey Hadhila, Please note that your file name should not have the same name as the packages that you are importing.

widyastuti commented 4 years ago

my suggestion is to create new file.py and paste your code there. then run again. it works on my problem

bharat-chandra commented 4 years ago

Hey Hadhila, Please note that your file name should not have the same name as the packages that you are importing.

cool ! it worked for me thank you.

bharat-chandra commented 4 years ago

my suggestion is to create new file.py and paste your code there. then run again. it works on my problem

cool ! it worked for me thank you.

ghost commented 4 years ago

test

sagar8557 commented 2 years ago

ImportError: cannot import name 'TweepError' from 'tweepy' (C:\Users\ssvrm.conda\envs\geo_env\lib\site-packages\tweepy__init__.py)

Any help or suggestion how can i fixed this error

Harmon758 commented 2 years ago

Please don't necrobump old closed issues. TweepError was replaced with TweepyException and HTTPException in v4.0.0,