I have stock python installed on my 10.6.1
I found that pathlist = ['', 'usr', 'bin']
I feel that sys.executable wasn't giving what was expected. Maybe sys.prefix will work for everyone instead? It works for me, but this needs to be tested on other platforms.
Traceback (most recent call last):
File "BuildModule.py", line 24, in <module>
File "/private/tmp/development/python-ogre/environment.py", line 97, in <module>
version = pathlist[pathlist.index('Versions') + 1]
ValueError: list.index(x): x not in list
Log in to post a comment.