Reputation: 1
I converted a xxxx.py to a yyyy.exe using pyinstaller, after a lot of modifications, and googling I managed to make the yyyy.exe work inside my venv, but when I switched outside venv(base), the yyyy.exe did not work, it seems that when yyyy.exe is executed,it still looking to import libraries from site packages in my local machine insted of looking inside dist folder where all needed libararies are installed. I do care about this issue since I m going to share only my file.exe with collegues not (file.exe and the venv) And it should work for them. Any help is really appreciated.
Upvotes: 0
Views: 416
Reputation: 11
I think your program has a dependency problem. You have to install(build dependency tree) the .exe file before running. You have to build an installer for it.
See: Inno setup for a good package creator.
here is a good tutorial:in youtube
Note, there are many good options for this work, feel free to check out them.
Upvotes: 1