Forum

Python has stopped working

02 March 2017 12:38
python - ImportError: No module named 'encodings'
02 March 2017 12:49
Try to run python from cmd with -E option
"C:\Program Files\Blender Foundation\Blender\2.78\python\bin\python.EXE" -E


Probably you have some bad environment variables.
Alexander (Blend4Web Team)
twitter
06 March 2017 11:01
python -E works like a charm
06 March 2017 11:03
Should I have PYTHONHOME setup in the System variables or it will be handled by Blender ?
06 March 2017 11:07
ok. thank you once again.

I did fixed it by deleting pythonhome from system variables

:( pfuuuhhh… :)
06 March 2017 11:12
python -E works like a charm

So, we will discuss how to solve this issue with custom environment.
But currently, you have to set correct environment. Try to change PYTHONHOME and other variables until it will work without -E.
Alexander (Blend4Web Team)
twitter
06 March 2017 11:39
Fixed the issue by ignoring user environment. The fix will be available in the next release.
Alexander (Blend4Web Team)
twitter
 
Please register or log in to leave a reply.