python setup.py install on Vista?

Lie Lie.1296 at gmail.com
Sun Apr 20 05:55:52 EDT 2008


On Apr 19, 6:29 am, globalrev <skanem... at yahoo.se> wrote:
> type "python setup.py install"
>
> that is used in most "addons" for python.
>
> well using windows vista, where the h*** am i supposed to type this?
>
> if it is not doable in windows, what do i have to do instead? just
> clicking the setup.py-file never works.

It seems that quite a lot of people wondered why python doesn't set
the environment variable to Python Path in the default installation.
While most Windows users that are flattered with GUI (IDLE) doesn't
really care about it, they'd have trouble when trying to run python
from command prompt.

To set your environment variable:
1. Right-click the Computer icon
2. Choose "Properties" from the context menu
3. Click the "Advanced system settings" link
4. Click the "Environment Variables" button
5. Add Python's installation path (usually C:\PythonXX where XX is the
Python version) to System Variables to the end of the path lists
6. Test it, try opening a command prompt and type "python" or "python
filename.py" outside Python installation directory



More information about the Python-list mailing list