Jefferson-Henrique / GetOldTweets-python

A project written in Python to get old tweets, it bypass some limitations of Twitter Official API.
MIT License
1.35k stars 809 forks source link

How to install got 3 ? #103

Open chuangys opened 7 years ago

chuangys commented 7 years ago

I just pip install lxml & pyquery packages which mentioned in requirement.txt However, have no idea how to install got3? I tried put the got3 folder to the path "C:\Anaconda\Lib\site-packages", but didn't work. Got the error message _>>> import got3 as got _Traceback (most recent call last): File "", line 1, in ImportError: No module named 'got3'__

Environment: Python 3 (installed with Anaconda) Windows 2016 servers

ossbasha commented 6 years ago

I experienced a similar issue. What worked for me was saving the repo inside the Python folder (Anaconda in your case), opening that path in Command Prompt, then running your query such as:

python Exporter.py --querysearch "europe refugees" --maxtweets 1

zakyarr commented 6 years ago

I face the same issue here. How is it going with yours? Have you already found the solution??

FelipeACJ commented 6 years ago

@zakyarr

Hi, try with this:

python 3.x:

from .got3.manager import TweetCriteria from .got3.manager import TweetManager etc..

the same issue for models, is more easy that call the class directly

Sneh22 commented 6 years ago

this is still not working....please suggest something else

mohan-pawar commented 4 years ago

Actually you have to install import GetOldTweets3 as got then this will work and check and thank me after that

marquisvictor commented 4 years ago

Just in case that didn't also work for you. I have an improvement fork that always works. Lol.

Check this medium publication I wrote for it.

https://medium.com/@IrekponorVictor/twitter-data-mining-mining-twitter-data-without-api-keys-a2a2bd3f11c

itsayushisaxena commented 3 years ago

I'm having the same issue and neither of the solutions is working for me. Will try @marquisvictor improvement fork. This is main issue for this repo and it must have been closed with a solution yet (

KayO-GH commented 3 years ago

From PyPi:

Use pip install GetOldTweets3 or pip install -e git+https://github.com/Mottl/GetOldTweets3#egg=GetOldTweets3