On 11/03/2017 04:15 PM, Kathrin Sobe wrote:
do you know if somebody tried to build a python program with sfepy and PyInstaller?
I tried it and build a executable for Windows (.exe) with PyInstaller-3.2. The build process was fine, but running the program returned with problems during the sfepy imports.
Here is what happens currently when I start the exe file: ... File "site-packages\sfepy__init__.py", line 5, in <module> File "site-packages\sfepy\version.py", line 52, in <module> File "site-packages\sfepy\version.py", line 37, in get_basic_info RuntimeError: cannot determine SfePy top level directory!
In my last post I mentioned problems running sfepy on Windows. Probably its better to solve that first. But I just wanted to ask if you have experiences with PyInstaller.
I have no experience with PyInstaller (and almost zero experience with windows). You are on your own with this topis =:) For windows, we recommend using anaconda.