Forum: Poser Python Scripting


Subject: Python2.4 breaking PoserPython?

face_off opened this issue on Sep 19, 2005 ยท 4 posts


tromnek posted Tue, 20 September 2005 at 10:43 PM

You could probably hack PoserPython's "site.py" to see if PYTHONPATH is in the environment. If so remove it from os.path

something like

try: sys.path.remove(os.environ["PYTHONPATH"])<br></br>except: pass

might work
Message edited on: 09/20/2005 22:44