No module named setuptools

user2885082 picture user2885082 · Mar 20, 2014 · Viewed 248.7k times · Source

I want to install setup file of twilio. When I install it through given command it is given me an error:

No module named setuptools.

Could you please let me know what should I do?

I am using python 2.7

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Python27>python D:\test\twilio-twilio-python-26f6707\setup.py install
Traceback (most recent call last):
  File "D:\test\twilio-twilio-python-26f6707\setup.py", line 2, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

Answer

Arvind picture Arvind · Mar 20, 2014

Install setuptools and try again.

try command:

sudo apt-get install -y python-setuptools