Am 02.03.2011 00:17, schrieb Florian Höch:
> Am 01.03.2011 21:17, schrieb Hartmut Goebel:
>> Am 01.03.2011 20:22, schrieb Florian Höch:
>>>> python -v utils\Build.py
>>>
>>> Ah, ok.
>> Please mind the -v switch. I want to see, where your python looks for
>> PyInstaller.build.
>
> Ok, here is the complete output:
Thanks. Unfortunately this doe not give any useful information to me.
Even more, it continues to confuse me. Especially since

    python -v -c 'import PyInstaller.bindepend' 

works, but

    python -v utils\Build.py

does not. According to
<http://docs.python.org/tutorial/modules.html#the-module-search-path>
this should work.

*So I can only imagine, either the current dir is different or sys.path
is different.*

Please temporary add these lines to the top of utils\Build.py:

    import sys, os
    print os.getcwd()
    print sys.path

and start it using the switches -s and -S (do avoid loading site.py):

    python -sS utils\Build.py

You may also check the output of

    python -sSc 'import sys; print sys.path'

Anything helpful there?

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult 
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult mit Mitglied bei http://www.7-it.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to