Installing Python on WIndows 10 64 bit -
i w trying install python on 64 bit windows 10 machine. downloaded latest python 2 release(following zed shaw's book, not installing python 3). after installation complete, entered python in power shell. following error.
ps c:\> python python : python 2.7.10 (default, may 23 2015, 09:44:00) [msc v.1500 64 bit (amd64)] on win32 @ line:1 char:1 + python + ~~~~~~ + categoryinfo : notspecified: (python 2.7.10 (...md64)] on win32:string) [], remoteexception + fullyqualifiederrorid : nativecommanderror type "help", "copyright", "credits" or "license" more information. >>>
the shell takes no more input. i'm forced use ctrl+c. know extremely basic cant seem figure out googling error.
are environment variables set correctly?
see following post user had similar issue:
i'm trying use python in powershell
try typing in powershell console well:
[environment]::setenvironmentvariable("path", "$env:path;c:\python27", "user")
also according document, may need update powershell profile:
https://superuser.com/questions/437790/run-python-scripts-in-powershell-directly
Comments
Post a Comment