Python Error From Setuptools Import Setup Find_packages
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the no module named setuptools ubuntu company Business Learn more about hiring developers or posting ads with us Stack Overflow
Importerror: No Module Named Setuptools Centos
Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 importerror no module named setuptools windows million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up No module named setuptools up vote 23 down vote favorite I want to install setup file of twilio. When from setuptools import setup importerror: no module named setuptools 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
Importerror No Module Named Setuptools Linux
edited Mar 20 '14 at 11:27 Bonifacio2 1,33031331 asked Mar 20 '14 at 11:20 user2885082 119113 1 ...but the title can be easily googled... and my favourite answer is currently this one –Wolf Sep 7 '14 at 21:07 1 I'm voting for reopen since I have this problem on Ubuntu 14.04 and it is not due to a x86 / x64 conflict of the installer. In short I simply needed to install pip - sudo apt-get install python-pip –Eric Mar 8 at 22:49 add a comment| 2 Answers 2 active oldest votes up vote 26 down vote Install setuptools https://pypi.python.org/pypi/setuptools and try again share|improve this answer answered Mar 20 '14 at 17:09 Arvind 1,028415 I was going to vote you down for not providing the command to install setuptools but you really do need to go to that URL to see how to install it on your specific system. –rob May 2 at 19:53 I think this information if more than enough. –panoet Sep 14 at 1:56 add a comment| up vote 11 down vote The PyPA recommended tool for installing and managing Python packages is pip. pip is included with Python 3.4 (PEP 453), but for older versions here's how to install it (on Windows, using Python 3.3): Download https://bootst
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn python setuptools download more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users importerror: no module named setuptools mac Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping
Install Setuptools Ubuntu
each other. Join them; it only takes a minute: Sign up Python 3: ImportError “No Module named Setuptools” up vote 59 down vote favorite 17 I'm having troubles with installing packages in Python 3. I have always installed http://stackoverflow.com/questions/22531360/no-module-named-setuptools packages with setup.py install command. But now when I try to install ansicolors package I get: importerror "No Module named Setuptools" I have no idea what to do because I haven't have Setuptools never and still I have installed many packages with setup.py install command without setuptools and now I should get setuptools. I can't even install setuptools because I have python 3.3 and setuptools doesn't support python 3. Why my install command doesn't work anymore? http://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools python module package setup.py python-3.3 share|improve this question edited Sep 19 at 13:11 j0k 17.4k114960 asked Jan 20 '13 at 16:20 user1994934 298138 add a comment| 7 Answers 7 active oldest votes up vote 115 down vote accepted Your setup.py file needs setuptools. Many of the Python packages use distutils for the distribution, but some use setuptools, a more complete package. Here is a question about the differences between them. Regarding Python 3.3, you should install distribute instead. It is a more recent package that works in the same way as setuptools (it's even called setuptools internally). UPDATE (Oct 2014): Distribute has been merged with setuptools 0.7, so just get setuptools for both Python 2.7 and 3.x To install this on Debian: sudo apt-get install python-setuptools For Python 3.x sudo apt-get install python3-setuptools share|improve this answer edited Dec 1 '14 at 14:45 answered Jan 20 '13 at 16:27 tiago 7,49963660 Hey thanks for your answer ! I installed distribute and setup.py now works fine. But i installed 3 packages and none of those didn't work. I hope this is just bad luck and not because distribute. –user1994934 Jan 20 '13 at 19:30 7 On Ubuntu: sudo apt-get install python-setuptools –YumYumYum May 3 '13 at 2:43 thanks for this post.. helped me a lot..Many peoples are advicing setuptools but its not possible to insta
Sign in Pricing Blog Support Search GitHub This repository Watch 184 Star 3,163 Fork 1,160 pypa/pip Code Issues 655 Pull requests 62 Projects 0 Pulse Graphs New issue ImportError: No module named setuptools (add details to https://github.com/pypa/pip/issues/1064 docs) #1064 Closed qwcode opened this Issue Jul 19, 2013 · 6 comments Projects None yet Labels docs setuptools Milestone 1.4.1 Assignees No one assigned 3 participants qwcode commented Jul 19, 2013 Users are getting "ImportError: No module named setuptools" when using pip to upgrade a package since distribute-0.7.3 was released. e.g. when running a command like this: pip install --upgrade pyramid Solution To prevent the problem no module in new environments (that aren't broken yet), First run pip install -U setuptools, Then run the command to upgrade your package (e.g. pip install --upgrade pyramid) To fix the problem once it's occurred, you'll need to manually install the new setuptools, then rerun the upgrade that failed. Download ez_setup.py (https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py) Run python ez_setup.py Then rerun your upgrade (e.g. pip install --upgrade pyramid) Also note that pip-1.4 (unreleased) has fixes to prevent this no module named Cause distribute-0.7.3 is just an empty wrapper that only serves to require the new setuptools (setuptools>=0.7) so that it will be installed. (if you don't know yet, the "new setuptools" is a merge of distribute and setuptools back into one project) distribute-0.7.3 does it's job well, when the upgrade is done in isolation. E.g. if you're currently on distribute-0.6.X, then running pip install -U setuptools works fine to upgrade you to setuptools>=0.7. The problem occurs when: 1. you are currently using an older distribute (i.e. 0.6.X) 2. and you try to use pip to upgrade a package that depends on setuptools or distribute. As part of the upgrade process, pip builds an install list that ends up including distribute-0.7.3 and setuptools>=0.7 , but they can end up being separated by other dependencies in the list, so what can happen is this: pip uninstalls the existing distribute pip installs distribute-0.7.3 (which has no importable setuptools, that pip needs internally to function) pip moves onto install another dependency (before setuptools>=0.7) and is unable to proceed without the setuptools package Note that pip-1.4 (unreleased) has fixes to prevent this. distribute-0.7.3 (or setuptools>=0.7) by themselves cannot prevent this kind of problem. 👍 1 ❤️ 1 qwcode referenced this issue Jul 19, 2013 Closed opscode & openst