AnswerBun.com

After downloading Tweepy I don't know where to locate it

I have downloaded Tweepy, and I locate its folder in the following path, where I have other libraries such as Pygame and swampy:

C:Python25Libsite-packages

… but when I import it – even in the command line – to make sure that the installation was successfully done, it says:

import tweepy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:Python25libsite-packagestweepy__init__.py", line 14, in <module>
from tweepy.api import API
File "C:Python25libsite-packagestweepyapi.py", line 8, in <module>
from tweepy.binder import bind_api
File "C:Python25libsite-packagestweepybinder.py", line 22, in <module>
raise ImportError, "Can't load a json library"
ImportError: Can't load a json library

Super User Asked by Candle on December 30, 2020

1 Answers

One Answer

You are getting this error because your python installation 2.5 does not have any json libraries that Tweepy is looking for. Tweeppy currently tries to use the simplejson library, the json library or the django.utils library, if you don't have then it throws the error you see now.

Answered by jeffery_the_wind on December 30, 2020

Add your own answers!

Related Questions

how flash memory/SSD write dta internally?

0  Asked on February 20, 2021

   

Lock screen vs Signing out

2  Asked on February 20, 2021 by uba

       

What is –export-secret-subkeys used for?

1  Asked on February 19, 2021

 

SSHFS remote directory mounting syntax

6  Asked on February 18, 2021

   

mdadm – Raid 1 arrays do not assemble after reboot

0  Asked on February 18, 2021 by user3728501

         

Laptop goes to sleep and wakes up very slowly

0  Asked on February 17, 2021 by skully

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.