2

I'm new to python and have just installed the Python 3, I'm new to Python and I'm facing difficulties in importing a new library.

I'm trying to import tweepy-master library into python, I read the instructions given on their github page and did the "python setup.py install" command in command prompt (on windows 8), but I get the error which I've mentioned above,

Guys, please help, is there a separate library called setuptools which I need to install first?

user2375506
  • 21
  • 1
  • 1
  • 2

1 Answers1

9

It seems that you should use Setuptools, i.e. Distribute is deprecated:

Distribute is a deprecated fork of the Setuptools project. Since the Setuptools 0.7 release, Setuptools and Distribute have merged and Distribute is no longer being maintained. All ongoing effort should reference the Setuptools project and the Setuptools documentation.

Obsolete

You should use distribute - a setuptools fork which "offers Python 3 support".

Installation instructions (according to documentation):

  • download python-distribute.org/distribute_setup.py (link is broken, obsolete information)
  • run it: python distribute_setup.py

It is recommended to install pip too: easy_install pip

Robert Lujo
  • 12,924
  • 4
  • 46
  • 64