Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

can tweepy module could be used for python 2.6

can tweepy module could be used for python 2.6

Explorer

i have default version python 2.6 in hortonworks sandbox, and i developed a program in pycharm that import tweepy but when i execute the program from sandbox its giving me error that no module named tweepy,, how could i resolve this issue TIA

3 REPLIES 3
Highlighted

Re: can tweepy module could be used for python 2.6

Super Mentor

@Sana Faraz

Can you try setting the "PYTHONPATH" to point to the correct module directory that contains the "tweepy" module?

Example:

export PYTHONPATH=$PYTHONPATH:/PATH/TO/tweepy

.

You can find the current default system path as, Can you check if it includes the "tweepy" module path? If not then you might want to try appending that path as described in: https://stackoverflow.com/questions/11101145/correct-directory-for-tweepy-api-to-add-to-the-pythonpa...

# python -c "import sys; print sys.path"

.

Highlighted

Re: can tweepy module could be used for python 2.6

Explorer

@Jay Kumar Sen

actually i don't know whether the tweepy has installed or not. can you please let me know hot to install it correctly ?and on which version of python i should install it

Highlighted

Re: can tweepy module could be used for python 2.6

Explorer

@Jay Kumar Sen

Please confirm if tweepy can be installed on python2.6 or python 2.7?

Don't have an account?
Coming from Hortonworks? Activate your account here