Discussion:
[Bf-python] Arch linux 64-bit. Release candidates cannot import system Python modules
Ryan Southall
2015-09-28 14:27:10 UTC
Permalink
Hi.
On a couple of Arch linux 64-bit systems the relationship with the system
Python installation seems to have changed with the 2.76 RCs. Before I
could delete Blender's Python directory and the system Python installation
was automatically used and everything was fine. With the latest RCs I have
to set the PYTHONPATH variable and even when I do the system Python is
seen, and the Blender interface works, but modules fail to load so most
scripts are broken. Console window reports that modules cannot be found.
Opening up a Python console in Blender just gives a blank window.
I have also tried setting the $BLENDER_SYSTEM_PYTHON variable to my
/usr/lib/python3.4 directory but the same thing happens.
Is there something else I need to do or should I report this as a bug?
Regards
Ryan

com/mail/

___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________
Stephen Swaney
2015-09-28 19:00:19 UTC
Permalink
Post by Ryan Southall
Hi.
On a couple of Arch linux 64-bit systems the relationship with the system
Python installation seems to have changed with the 2.76 RCs. Before I
could delete Blender's Python directory and the system Python installation
was automatically used and everything was fine. With the latest RCs I have
to set the PYTHONPATH variable and even when I do the system Python is
seen, and the Blender interface works, but modules fail to load so most
scripts are broken. Console window reports that modules cannot be found.
Opening up a Python console in Blender just gives a blank window.
I have also tried setting the $BLENDER_SYSTEM_PYTHON variable to my
/usr/lib/python3.4 directory but the same thing happens.
Is there something else I need to do or should I report this as a bug?
Sounds like a Python version mismatch. What does
import sys; print(sys.version)
report on the afflicted machines for both blender and system python?

S.
--
Stephen Swaney ***@centurytel.net
231-313-2492 skype: sswaney (GMT-4)
Ryan Southall
2015-09-28 19:11:02 UTC
Permalink
Blender:
3.4.2 (default, Nov 24 2014, 15:22:10)
[GCC 4.7.1]

System:
3.4.3 (default, Sep 7 2015, 15:40:35)
[GCC 5.2.0]

Only a minor version difference. Could the different GCC versions cause it?









On Mon, 28 Sep 2015 20:00:19 +0100, Stephen Swaney
Post by Stephen Swaney
Post by Ryan Southall
Hi.
On a couple of Arch linux 64-bit systems the relationship with the system
Python installation seems to have changed with the 2.76 RCs. Before I
could delete Blender's Python directory and the system Python
installation
was automatically used and everything was fine. With the latest RCs I have
to set the PYTHONPATH variable and even when I do the system Python is
seen, and the Blender interface works, but modules fail to load so most
scripts are broken. Console window reports that modules cannot be found.
Opening up a Python console in Blender just gives a blank window.
I have also tried setting the $BLENDER_SYSTEM_PYTHON variable to my
/usr/lib/python3.4 directory but the same thing happens.
Is there something else I need to do or should I report this as a bug?
Sounds like a Python version mismatch. What does
import sys; print(sys.version)
report on the afflicted machines for both blender and system python?
S.
--
Dr Ryan Southall
Senior Lecturer
School of Art, Design & Media
University of Brighton

___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________
Loading...