Created
November 4, 2019 06:25
-
-
Save dzinampini/f8aa018b0ab73857009d2df810571c46 to your computer and use it in GitHub Desktop.
Getting the Python path and setting variable path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open the Python CMD | |
>>import os | |
>>import sys | |
>>os.path.dirname(sys.executable) | |
and it will show you the path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to set variable path
Windows Run
Type in sysdm.cpl
Advanced
Environment Variables
Path
Edit
Add the path obtained using above trick
save and restart cmd