Error Was No Module Named Pkg_resources
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 importerror: no module named pkg_resources mac about Stack Overflow the company Business Learn more about hiring developers or posting ads no module named pkg_resources windows with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow pkg_resources documentation is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up No module named pkg_resources up vote 246 down vote favorite 85 I'm aws lambda no module named pkg_resources deploying a Django app to a dev server and am hitting this error when i run pip install requirements.txt: Traceback (most recent call last): File "/var/www/mydir/virtualenvs/dev/bin/pip", line 5, in
Aws Lambda Pkg_resources
the Python site-packages in the virtualenv with the following command sh setuptools-0.6c11-py2.6.egg --install-dir /var/www/mydir/virtualenvs/dev/lib/python2.6/site-packages EDIT This only happens inside the virtualenv. If I open a console outside the virtualenv then pkg_resources is present but I am still getting the same error. Any ideas as to why pkg_resources is not on the path? python django virtualenv setuptools pip share|improve this question edited Sep 16 '11 at 16:15 asked Sep 16 '11 at 14:26 igniteflow 2,23742636 When installing nltk,same problem happens.Good question and helpful answer –laike9m May 20 '13 at 7:01 add a comment| 21 Answers 21 active oldest votes up vote 461 down vote accepted I encountered the same ImportError today while trying to use pip. Somehow the setuptools package had been deleted in my Python environment. To fix the issue, run the setup script for setuptools: wget https://bootstrap.pypa.io/ez_setup.py -O - | python (or if you don't have wget installed (e.g. OS X), try curl https://bootstrap.pypa.io/ez_setup.py | python possibly with sudo prepended.) If you have any version of distribute, or any setuptools below 0.6, you will have to uninstall it first.* See Installation Instructions for further details. * If you already have a working distribute, upgrading it to the "compatibility wrapper" that switches you
here for a quick overview of the site Help Center Detailed answers to any questions
Pkg_resources Resource_filename
you might have Meta Discuss the workings and policies of python pkg_resources example this site About Us Learn more about Stack Overflow the company Business Learn more about hiring no module named _markerlib developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http://stackoverflow.com/questions/7446187/no-module-named-pkg-resources community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ImportError: No module named pkg_resources on installing matplotlib up vote 4 down vote favorite 2 This is on CentOs 6.6. I am trying to set up a scientific python environment. I want to http://stackoverflow.com/questions/31438293/importerror-no-module-named-pkg-resources-on-installing-matplotlib avoid Anaconda. When trying to install matplotlib, I get "ImportError: No module named pkg_resources". Full install history: sudo yum install gcc-c++.x86_64 sudo yum install gcc sudo yum install atlas atlas-devel lapack-devel blas-devel sudo yum install python-devel sudo pip install numpy sudo pip install scipy sudo pip install pandas sudo pip install matplotlib At the last step, I get the message Complete output from command python setup.py egg_info: The required version of distribute (>=0.6.28) is not available, and can't be installed while this script is running. Please install a more recent version first, using 'easy_install -U distribute'. Then I do sudo pip install --upgrade distribute which installs distribute-0.7.3, setuptools-18.0.1. Then: sudo pip install matplotlib which results in: File "/usr/bin/pip", line 5, in
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu https://ubuntuforums.org/showthread.php?t=2167383 Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help Python is broken: no module No module named pkg_resources Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 8 of 8 Thread: Python is broken: No module named pkg_resources Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid no module named Mode Switch to Threaded Mode August 13th, 2013 #1 nergar2 View Profile View Forum Posts First Cup of Ubuntu Join Date Aug 2013 Beans 1 Python is broken: No module named pkg_resources Hello! It has been a while since I used this forum for support but I am stuck. My setup: Code: daniel@nergar:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS" I woke up today and felt a need to upgrade my seedbox, all went fine so I went ahead and updated my flexget installation with the command: Code: sudo pip install --upgrade flexget The command completed successfully, but immediately after pip stopped working: Code: daniel@nergar:~$ pip Traceback (most recent call last): File "/usr/bin/pip", line 5, in