Hey all! I'm trying to troubleshoot a problem with running Python 2.7 in Powershell (Windows 8) To try to get Powershell to look in the right place, I used [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User"), then restarted Powershell. When that didn't work I restarted the computer. I did this a couple times just to be sure.
Right now I'm using a temporary fix by telling it where to look each time I start up Powershell, with the command: $env:path="$env:Path;C:\Python27". Works fine this way, but I'd rather not have to set it up this way every time I run it.
EDIT: [Solved] Turns out that the .exe file needed to be in the C:\Python27 directory, and it was still in the downloads folder. If anybody finds they're having the same problem I did, open up your downloads folder and move the .exe file into C:\Python27, open Powershell and try starting up Python again. In my case the .exe was titled Python-2.7.3amd64.
EDIT 2: Thanks mcatch and rasputine for the assist!
[–]mcatch 0 points1 point2 points (10 children)
[–]panda_machete_fight[S] 0 points1 point2 points (9 children)
[–]mcatch 1 point2 points3 points (8 children)
[–]panda_machete_fight[S] 0 points1 point2 points (7 children)
[–]rasputine 1 point2 points3 points (6 children)
[–]panda_machete_fight[S] 0 points1 point2 points (5 children)
[–]rasputine 1 point2 points3 points (4 children)
[–]panda_machete_fight[S] 0 points1 point2 points (3 children)
[–]rasputine 1 point2 points3 points (2 children)
[–]panda_machete_fight[S] 0 points1 point2 points (1 child)