Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No module named setuptools

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 
like image 384
user2885082 Avatar asked Mar 20 '14 11:03

user2885082


People also ask

How do I fix Importerror No module named setuptools?

Solution Idea 1: Install Library setuptools The most likely reason is that Python doesn't provide setuptools in its standard library. You need to install it first! Before being able to import the Pandas module, you need to install it using Python's package manager pip . Make sure pip is installed on your machine.

How do I import setuptools in Python?

Follow the below steps to install the Setuptools package on Linux using the setup.py file: Step 1: Download the latest source package of Setuptools for Python3 from the website. Step 3: Go to the setuptools-60.5. 0 folder and enter the following command to install the package.

Does Python include setuptools?

the setuptools is not part of the python vanilla codebase, hence not a vanilla modules. python.org installers or mac homebrew will install it for you, but if someone compile the python by himself or install it on some linux distribution he may not get it and will need to install it by himself.


1 Answers

Install setuptools and try again.

try command:

sudo apt-get install -y python-setuptools 
like image 62
Arvind Avatar answered Sep 28 '22 05:09

Arvind