I try to create a exe file since 2 days. Pyinstaller and cx_freeze have problems with .dll files and py2exe is not working for python27 which i have to use.

The problem with pyinstaller is the warning: lib not found: jvm.dll dependency of C:\OSGEO4W\apps\Python27\lib\site-packages\snappy\jpy.pyd

I try to launge pyinstaller in the osgeo4w shell. My thoughts are that Osgeo has no conection to Java were jvm.dll is located. My try to install Java in advanced setup mode from osgeo4w crashed my whole osgeo instalation.

cx_freeze gives me the error:

[Errno 2] No such file or directory:'C:\OSGEO5\apps\Python27\dlls\sqlite3.dll

this file is located in the osgeo4w folder 2 times in the lib and in the bin folder. I copied the file and paste it to the desired folder. I don#t get the error anymore but still get no runnin exe. The produced exe closes after some seconds with no info or error message.

I am frustrated and would be happy about help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.