Joshua Cogliati <jrinc...@gmail.com> added the comment:

Here is a part of an strace where Python fails to find python3:
(This would work if progname=L"python3" )
...
23249 stat("/opt/python/3.2.2.3/bin/python", 0x7fff2881cbf0) = -1 ENOENT 
(No such file or directory)
23249 readlink("/usr/local/bin/python", "/usr/bin/python", 4096) = 15
23249 readlink("/usr/bin/python", "python2.7", 4096) = 9
23249 readlink("/usr/bin/python2.7", 0x7fff2881bb70, 4096) = -1 EINVAL (Invalid 
argument)
23249 stat("/usr/bin/Modules/Setup", 0x7fff2881cbf0) = -1 ENOENT (No such file 
or directory)
23249 stat("/usr/bin/lib/python3.2/os.py", 0x7fff2881cbf0) = -1 ENOENT (No such 
file or directory)
23249 stat("/usr/bin/lib/python3.2/os.pyc", 0x7fff2881cbf0) = -1 ENOENT (No 
such file or directory)
23249 stat("/usr/lib/python3.2/os.py", 0x7fff2881cbf0) = -1 ENOENT (No such 
file or directory)
23249 stat("/usr/lib/python3.2/os.pyc", 0x7fff2881cbf0) = -1 ENOENT (No such 
file or directory)
23249 stat("/lib/python3.2/os.py", 0x7fff2881cbf0) = -1 ENOENT (No such file or 
directory)
23249 stat("/lib/python3.2/os.pyc", 0x7fff2881cbf0) = -1 ENOENT (No such file 
or directory)
23249 write(2, "Could not find platform independ"..., 55) = 55
...
$ which python3
/opt/python/3.2.2.3/bin/python3

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to