-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module Not Found Error #104
Comments
What is the "Current Command" that auto-py-to-exe displayed when you packaged your script? |
Current Command: Output:
This is the complete error message I got when I try running the newly created executable file:
|
Are you sure you added |
Thank you for your reply. I also tried the "Current Command"
and
but got the same error in both scenarios (same error as in my previous message): When I try |
If you try to execute It's interesting to see that |
Yes, the error changed. I tried to make an executable file from two different python files:
and
Using the commands and on the 4 attempts I got the same error:
|
Are you using auto-py-to-exe to do this? If not, this issue is no longer associated with this tool. I believe I added a fix for this problem quite a while ago in the tool which is applied automatically. |
I misunderstood your instruction. I'm very sorry. I tried to create an executable file using the following Current Command: Trying to run the file created I got the error Then I changed the Current Command to And got the error Maybe it could not handle two hidden-import parameters simultaneously? |
No need to be sorry; I'm just making sure that auto-py-to-exe is generating the correct command - using PyInstaller manually can help verify this. From what I see above:
This seems like a PyInstaller issue. If you select |
When I use
If I have no modules on the |
So adding Typically you need to use Maybe if you can locate where the .py associated with the import is, you could add it's location to |
Thank you. Adding the module location to |
I'm trying to make an executable file out of the python code below:
However, I keep receiving the error message
ModuleNotFoundError: No module named '_libsbml'
Any ideas on how to solve this?
The line "import _libsbml" was not in my original code. I added it while trying to solve this problem. I also added "_libsbml" on the "--hiddenimport" advanced field, but without results.
The text was updated successfully, but these errors were encountered: