How to get started w/ RedHat 7.3....

(rknop) #1

I’ve looked around, because I’m sure this is documented, but I can’t find the answer.

I’m trying to run a Python script (Jan Walter’s “mimport”). When I run it, I get the error “This script is only working with the new GUI module …”

First of all, where is this GUI module? Is it a standard part of Python, or a standard part of Blender? I haven’t been able to figure out the answer with some googling, but I’m pretty sure I don’t have that module on my system. How do I get this to work? The offending line is just

import GUI

Second, how do I know if Blender is even using the right Python? I’m on a Redhat 7.3 system, where /usr/bin/python (the default) is Python 1.5; to get Python 2.2, I have to run /usr/bin/python2. How do I tell Blender which one to run?

(Does anybody know if Redhat 8.0 has Python 2 as /usr/bin/python, or do you also have to run pyton2 there as wekk?)

I’m sorry if these are very basic questions covered long ago, but I wasn’t able to find where they were covered.



(OTO) #2


I’m far from a Python expert but Blender looks for the Python libs
not the .exe i guess.
So the good path it’ll be /usr/lib/pythonx.x
I hope that this wil help you.