Seite 1 von 1

python 2 exe

Verfasst: Montag 2. Juni 2008, 19:26
von The Hit-Man
habe als erstes immer py2exe verwendet, doch dieses mal habe ich kein erfolg gehabt. ich benutze wxwidgets ( die dlls kopier py2exe auch alle mit ), mechanize nund BeatifulSoup, in meinem programm.
aus dem forum, habe ich erfahren, das es auch FreezePython gibt. so weit so gut. ich versuche meine app, so zu erstellen:

Code: Alles auswählen

FreezePython app.py --target-dir=d:\test --include-modules=mechanize,BeautifulSoup
jetzt bekomme ich die fehlermeldung, das das modul mechanize nicht gefunden wird. das modul habe ich aber per easy_install installiert und die normale py anwendung läuft ja.

Verfasst: Donnerstag 5. Juni 2008, 17:26
von The Hit-Man
gibts noch andere Möglichkeiten, eine .exe zu erstellen?

Verfasst: Donnerstag 5. Juni 2008, 17:31
von numerix
Guckst du hier:

[wiki]Tipps und Tricks#WindowsExecutableErstellen[/wiki]

Verfasst: Donnerstag 5. Juni 2008, 18:09
von The Hit-Man
das hier habe ich auch noch gefunden. So bekomme ich es auch locker hin, allerdings habe ich ja noch zusatz module, die ich benutze.

http://showmedo.com/videos/video?name=p ... eriesID=43

Verfasst: Donnerstag 5. Juni 2008, 18:50
von The Hit-Man
Das TUT ist gut, so kenne ich es ja auch. Allerdings bindet es mir das Modul mechanize nicht ein :(