[issue27054] Python installation problem: No module named 'encodings'

2016-05-18 Thread Hugh C. Lauer
New submission from Hugh C. Lauer: Hello, I am a university professor who regularly teaches classes in Python programming, particular to students who are NOT computer science majors. In preparing my course materials for next fall, I have been struggling with setting up a Python 3.5.1

[issue27054] Python installation problem: No module named 'encodings'

2016-05-19 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: Upon further investigation, I find lots of encodings in the folder C:\Program Files\Python35\Lib\encodings\ and lots of compiled encodings in the subfolder __pycache__ . Somehow, these are not being found by Python itself, or there is something missing from

[issue27054] Python installation problem: No module named 'encodings'

2016-05-19 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: On a hunch, I uninstalled Python 3.5.1 and reinstalled it for the current user only, to see if it would make a difference in the association of the encodings in the Registry. There was no difference. The original error message still appears. Regards, Hugh C

[issue27054] Python installation problem: No module named 'encodings'

2016-05-19 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: Thanks, I will try it when I get out of airports. Hugh Lauer On May 19, 2016 11:56 AM, Zachary Ware wrote: > > > Zachary Ware added the comment: > > Here's some pretty compelling evidence for a bad PYTHONHOME setting: > > C:\>se

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: I am back from my travels. Thanks very much, Stefan. Running as administrator did the trick for Windows 10 installations. I now have a reliable, repeatable protocol that I can give to students with little computing experience that will enable them to install

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: I am back from my travels. Thanks Zachary for this. On Windows 10, no PYTHON or PYTHONHOME environment variable is set. On Windows 7, they are set. Moreover, even though I am installing Python 3.5.1, the refer to C:\Program files\Python34 ! I will continue to

[issue27054] Python installation problem: No module named 'encodings'

2016-05-25 Thread Hugh C. Lauer
Hugh C. Lauer added the comment: All, it seems that installation of Python 3.5.1 on Windows 7 must also be done as administrator. Once I did that, the installation of Python 3.5.1, numpy 1.11.0, and matplotlib 1.5.1 all went seamlessly. The only environment variable that was changed was to