Reputation: 2112
I have Windows 7 (64-bit) operating system. I have installed python. I want to install setuptools (for python). In their website (https://pypi.python.org/pypi/setuptools) it is written: "Download ez_setup.py and run it;" I download that file, save it to my hard drive. Then when I click (right mouse button) and select "Open with"-> "python", a black console screen appears for a second, then disappears. And that's all. What is wrong and how can I install that software?
Upvotes: 1
Views: 5954
Reputation: 98736
Navigate to the directory where ez_setup.py is saved, e.g.:
cd C:\Users\You\Downloads
Run it (C:\Python27\ should already be on your %PATH%; if it's not, add it -- see below):
python ez_setup.py
Read the output. If it worked, you should be able to install packages like so:
C:\Python27\Scripts\easy_install jinja2
Add the path to easy_install
to your %PATH% so that you can use it easily from any directory:
Environment variables...
button;C:\Python27\Scripts\
to the end (substitute your Python version)If something goes wrong, the command prompt will remain open after the program finishes, so you'll be able to read the error and use it to resolve the problem.
Upvotes: 4