Skip to content Skip to sidebar Skip to footer

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:

  1. Start -> search for "environment"
  2. Select "Edit environment variables for your account"
  3. Click the variable Path and click Edit
  4. Add "C:\Python26;C:\Python26\Scripts;" to the path
  5. Ok

After that it loads properly.


Post a Comment for "Python 2.6 'import Site' Failed Error With 2.7 Installed"