Python 2.6 'import Site' Failed Error With 2.7 Installed
I have Python 2.7 operating correctly on Windows. I installed 2.6 in another folder. However, when I run 2.6 in IDLE or PowerShell, it does not recognize basic commands and cannot
Solution 1:
Took a while, but I did solve this. When I installed 2.6, it did not add anything to the environment path. I'm working in windows, so here's what I did:
- Start -> search for "environment"
- Select "Edit environment variables for your account"
- Click the variable Path and click Edit
- Add "C:\Python26;C:\Python26\Scripts;" to the path
- Ok
After that it loads properly.
Post a Comment for "Python 2.6 'import Site' Failed Error With 2.7 Installed"