I was doing this inside a virtualenv on Oracle Linux 6. My fix was to upgrade my version of setuptools that had been installed by virtualenv:. After that, I was able to install packages into the virtualenv. I know this question has already had an answer selected but I hope this answer will help others in my situation. Also, use pip to install the modules. It automatically finds dependencies and installs them for you.
I have given a complete solution here for python selenium webdriver. The PyPA recommended tool for installing and managing Python packages is pip.
December 4, Python Leave a comment. Here is my code for the same from spacy. Questions: I need to click a dropdown list and click a hidden element with in it. In my database, I have to attributes, one of which is used to put Markdown code and the other to save HTML code converted from the Markdown c Add menu.
My fix was to upgrade my version of setuptools that had been installed by virtualenv: pip install --upgrade setuptools After that, I was able to install packages into the virtualenv.
If MySQLdb's now distributed in a way that requires setuptools , your choices are either to download the latter e. Depending on how your site's Python installation is configured, installing extensions for your own individual use without requiring sysadm rights may be hard, but it's never truly impossible if you have shell access.
You'll need to tweak your Python's sys. Not sure if you'll need to use sudo if you're just installing it for you current user. You'd definitely need it to install it for all users. I am experiencing the same problem right now. I'll try to fix the problem by installing C compiler. I'll inform you if it works we'll I guess you don't need it anymore, but I'll post the result anyway :. In my case, I used setuptools Then download the executable file here then install that file.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to install MySQLdb package? ImportError: No module named setuptools Ask Question.
Asked 12 years, 3 months ago. Active 7 years, 10 months ago. Viewed k times. I did the following: gunzip MySQL-python By the way, if I am able to do the described step, I will need to do the following: sudo python setup. Thank you. Verrtex Verrtex 3, 9 9 gold badges 33 33 silver badges 33 33 bronze badges. You need to get setuptools. See: pypi. Add a comment. Active Oldest Votes.
Community Bot 1 1 1 silver badge. Alex Martelli Alex Martelli k gold badges silver badges bronze badges. I resolved this issue on centos5.
0コメント