FG
💻 Software

How can I set up the python environment variable on Windows 7?

Fresh7 days ago
Mar 15, 202610788 views
Confidence Score0%
0%

Problem

I would sure like to be able to type "python" on my command line instead of C:\Python27\python.exe. So to that end I'm trying to get the environment variable set up for myself. Problem is, I can't seem to get the Python system environment variable to set up on my Windows 7 install. So far I have (a…

Error Output

C:\Python27;C:\Python27\DLLs;C:\Python27\Lib;C:\Python27\Lib\lib-tk;C:\Python27\Scripts;

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I set up the python environment variable on Windows 7?

Low Risk

You need to set the Python directory as your PATH, not PYTHONPATH. The latter is a separate variable that Python uses. Also, you only need the main directory ( ).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment