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?

0

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

4 Comments

Link seems to be broken...
+1 for updating the answer
The distribute_setup.py link is again broken D:
Yes, thanks for noting this out. This is obsolete information, so should not be used - use Setuptools instead.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.