Skip to main content

Fixes windows PATH environment variable to find python.exe, pip.exe and more

Project description

fix-winpath

If you are sure python is installed on your windows machine, but still encounter the following problem while trying to run python from your windows cmd terminal:

C:\Users\Joe> python
'python' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Joe> pip install requests
'pip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Joe> jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.

fix-winpath might help you to fix your windows' PATH environment variable.

Instructions

Check if you can launch python using the py launcher first:

C:\Users\Guest>py --version
Python 3.7.0

Assuming the line above works, install fix-winpath with:

py -3 -m pip install --upgrade fix-winpath 

After installing the package successfully fix your PATH with:

py -3 -m fix_winpath -i 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fix-winpath-0.0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

fix_winpath-0.0.1-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page