Closed MikeS11 closed 3 years ago
Hello,
So you managed to build the exe without errors but this happens when you run it right ?
That's strange, maybe try installing the requests module before building the exe ?
with pip install requests
?
Tell me if this helps.
Hmm same issue,
I do have python installed in this location: C:\Users\Mike1\AppData\Local\Programs\Python\Python38 But i do have this path included in the windows environment path variable including the scripts folder
On Sun, 14 Feb 2021 at 04:56, Voljega notifications@github.com wrote:
Hello,
So you managed to build the exe without errors but this happens when you run it right ?
That's strange, maybe try installing the requests module before building the exe ? with pip install requests ?
Tell me if this helps.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Voljega/ExoDOSConverter/issues/71#issuecomment-778767384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFUSEFYEWSUXKACFC5DBATS66257ANCNFSM4XS2OFFA .
OK, not sure it would work just like that, did you managed to build this in the past or is it your first attempt ?
This my first attempt,
I installed python 3.8.X from the site provided but it conflicted with 3.9 installed from the windows store. After I removed 3.9 I was able to set the path correctly in windows so 3.8 and its paths were forced to run.
So it should be using the correct version of python:
C:\Temp\Test2\ExoDOSConverter-master>python --version Python 3.8.6
C:\Temp\Test2\ExoDOSConverter-master>pyinstaller --version 4.2
On Sun, 14 Feb 2021 at 10:22, Voljega notifications@github.com wrote:
OK, not sure it would work just like that, did you managed to build this in the past or is it your first attempt ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Voljega/ExoDOSConverter/issues/71#issuecomment-778809089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFUSECIKV37ZPCIYZCQRM3S7ABEZANCNFSM4XS2OFFA .
Building the main.exe works, running the main.exe does not.
On Sun, 14 Feb 2021 at 11:04, Mike Simone mikesimone3@gmail.com wrote:
This my first attempt,
I installed python 3.8.X from the site provided but it conflicted with 3.9 installed from the windows store. After I removed 3.9 I was able to set the path correctly in windows so 3.8 and its paths were forced to run.
So it should be using the correct version of python:
C:\Temp\Test2\ExoDOSConverter-master>python --version Python 3.8.6
C:\Temp\Test2\ExoDOSConverter-master>pyinstaller --version 4.2
On Sun, 14 Feb 2021 at 10:22, Voljega notifications@github.com wrote:
OK, not sure it would work just like that, did you managed to build this in the past or is it your first attempt ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Voljega/ExoDOSConverter/issues/71#issuecomment-778809089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFUSECIKV37ZPCIYZCQRM3S7ABEZANCNFSM4XS2OFFA .
OK well that's strange .... I myself build with pyCharm and previously used Anaconda which was not very good. I never built with only command line, seems in your case some dependencies are not included by pyInstaller...
I am also on 3.8 I must say I haven't try to build the latest commits though, so I should try that.... but at the moment I'm in the middle of a very heavy refactoring to properly handle the newly realeased eXoWin3x collection
Hello @MikeS11, so I just built the latest version once again on Pycharm and have no issue. I guess in your case, the linking during built process is not done correctly ? You can try with Pycharm it's free
Thanks, I'll check it out and let you know.
Cheers
On Fri, 19 Feb 2021 at 15:42, Voljega notifications@github.com wrote:
Hello @MikeS11 https://github.com/MikeS11, so I just built the latest version once again on Pycharm and have no issue. I guess in your case, the linking during built process is not done correctly ? You can try with Pycharm it's free
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Voljega/ExoDOSConverter/issues/71#issuecomment-782423992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFUSEGI5QE3O54TD54LE6TS73SL3ANCNFSM4XS2OFFA .
Any update ? I know another user had the same issue on reddit and he manage to make it work by reinstalling a clean environment
closed due to no activity
Maybe I am doing something wrong but I am getting this error after I create the main.exe and try to run it in the main folder:
Traceback (most recent call last): File "main.py", line 3, in
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "exogui.py", line 7, in
File "PyInstaller\loader\pyimod03_importers.py", line 531, in exec_module
File "util.py", line 5, in
ModuleNotFoundError: No module named 'requests'
[29528] Failed to execute script main