pyinstaller - solved path errors but now it has “missing modules” - my .exe compiles but does not run…?Compiling a non-standard module into an executable file with PyInstallerScrapy, pyinstaller, and missing modules galorePyinstaller doesn't work in python 3.7 (can't find module 'encodings')Reverse for '' not found. '' is not a valid view function or pattern name - DJANGOBuilding a Python module from C code failspyinstaller is not recognized as an internal or external command, operable program or batch filemultiprocessing_generator modules triggers a permission errorI am trying to use pip to install modules, I get: AttributeError: module 'enum' has no attribute 'IntFlag' Why is this happening?Fatal Python error: initfsencoding: unable to load the file system codecHow can I use module and python on cmd?
Non-inverting amplifier ; Single supply ; Bipolar input
Why are examinees often not allowed to leave during the start and end of an exam?
What is this fluorinated organic substance?
Other homotopy invariants?
Russian equivalents of 能骗就骗 (if you can cheat, then cheat)
How come having a Deathly Hallow is not a big deal?
My mom helped me cosign a car and now she wants to take it
Why should I allow multiple IP addresses on a website for a single session?
What verb goes with "coup"?
Why will we fail creating a self sustaining off world colony?
Is it theoretically possible to hack printer using scanner tray?
Why are symbols not written in words?
How to extract coefficients of a generating function like this one, using a computer?
How can I change my buffer system for protein purification?
What is the meaning of "it" in "as luck would have it"?
Which high-degree derivatives play an essential role?
what does "$@" mean inside a find command
Why would Dementors torture a Death Eater if they are loyal to Voldemort?
Can you run PoE Cat6 alongside standard Cat6 cables?
What's the difference between the Find Steed and Find Greater Steed spells?
How can I get a file's size in C++ in 2019 with C++ 17?
"Best practices" for formulating MIPs
Is there a connection between representation theory and PDEs?
Can you help me, to widen the page. Thank you
pyinstaller - solved path errors but now it has “missing modules” - my .exe compiles but does not run…?
Compiling a non-standard module into an executable file with PyInstallerScrapy, pyinstaller, and missing modules galorePyinstaller doesn't work in python 3.7 (can't find module 'encodings')Reverse for '' not found. '' is not a valid view function or pattern name - DJANGOBuilding a Python module from C code failspyinstaller is not recognized as an internal or external command, operable program or batch filemultiprocessing_generator modules triggers a permission errorI am trying to use pip to install modules, I get: AttributeError: module 'enum' has no attribute 'IntFlag' Why is this happening?Fatal Python error: initfsencoding: unable to load the file system codecHow can I use module and python on cmd?
The first day I installed pyinstaller and compiled my python app, it compiled and created the .exe fine, and it worked.
Next day it had path issues saying it could not find these files:
api-ms-win-crt-*.dll
I solved this by having this compile command:
pyinstaller --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libtest"
--path "C:Program Files (x86)Windows Kits10Redist10.0.17763.0ucrtDLLsx86" --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libscripts"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Lib"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libvenv"
-w -F -i Conv.ico appJar.py
This finds all the crt*.dll files etc and it now compiles. But the .exe does not run, and when I look in the warn-appjar.txt file, it gives me missing module errors. e.g.:
missing module named resource - imported by posix (top-level),
D:PythonappJar.py (top-level) excluded module named _frozen_importlib
missing module named posix - imported by os (conditional, optional), D:PythonappJar.py (top-level)
My Windows Path environment variable is OK, the way it should be.
I ran the CMD prompt in administrators mode, and then just as regular power user. I have Win10. I de-installed pyinstaller and re-installed the latest version of pyinstaller.
Its just so weird that it worked seamlessly when I first installed it, then next day failed.
Any ideas how I get these missing and excluded modules in for a successful compile?
python module path pyinstaller
add a comment |
The first day I installed pyinstaller and compiled my python app, it compiled and created the .exe fine, and it worked.
Next day it had path issues saying it could not find these files:
api-ms-win-crt-*.dll
I solved this by having this compile command:
pyinstaller --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libtest"
--path "C:Program Files (x86)Windows Kits10Redist10.0.17763.0ucrtDLLsx86" --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libscripts"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Lib"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libvenv"
-w -F -i Conv.ico appJar.py
This finds all the crt*.dll files etc and it now compiles. But the .exe does not run, and when I look in the warn-appjar.txt file, it gives me missing module errors. e.g.:
missing module named resource - imported by posix (top-level),
D:PythonappJar.py (top-level) excluded module named _frozen_importlib
missing module named posix - imported by os (conditional, optional), D:PythonappJar.py (top-level)
My Windows Path environment variable is OK, the way it should be.
I ran the CMD prompt in administrators mode, and then just as regular power user. I have Win10. I de-installed pyinstaller and re-installed the latest version of pyinstaller.
Its just so weird that it worked seamlessly when I first installed it, then next day failed.
Any ideas how I get these missing and excluded modules in for a successful compile?
python module path pyinstaller
add a comment |
The first day I installed pyinstaller and compiled my python app, it compiled and created the .exe fine, and it worked.
Next day it had path issues saying it could not find these files:
api-ms-win-crt-*.dll
I solved this by having this compile command:
pyinstaller --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libtest"
--path "C:Program Files (x86)Windows Kits10Redist10.0.17763.0ucrtDLLsx86" --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libscripts"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Lib"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libvenv"
-w -F -i Conv.ico appJar.py
This finds all the crt*.dll files etc and it now compiles. But the .exe does not run, and when I look in the warn-appjar.txt file, it gives me missing module errors. e.g.:
missing module named resource - imported by posix (top-level),
D:PythonappJar.py (top-level) excluded module named _frozen_importlib
missing module named posix - imported by os (conditional, optional), D:PythonappJar.py (top-level)
My Windows Path environment variable is OK, the way it should be.
I ran the CMD prompt in administrators mode, and then just as regular power user. I have Win10. I de-installed pyinstaller and re-installed the latest version of pyinstaller.
Its just so weird that it worked seamlessly when I first installed it, then next day failed.
Any ideas how I get these missing and excluded modules in for a successful compile?
python module path pyinstaller
The first day I installed pyinstaller and compiled my python app, it compiled and created the .exe fine, and it worked.
Next day it had path issues saying it could not find these files:
api-ms-win-crt-*.dll
I solved this by having this compile command:
pyinstaller --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libtest"
--path "C:Program Files (x86)Windows Kits10Redist10.0.17763.0ucrtDLLsx86" --path
"C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libscripts"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Lib"
--path "C:UsersMyUserNameAppDataLocalProgramsPythonPython37-32Libvenv"
-w -F -i Conv.ico appJar.py
This finds all the crt*.dll files etc and it now compiles. But the .exe does not run, and when I look in the warn-appjar.txt file, it gives me missing module errors. e.g.:
missing module named resource - imported by posix (top-level),
D:PythonappJar.py (top-level) excluded module named _frozen_importlib
missing module named posix - imported by os (conditional, optional), D:PythonappJar.py (top-level)
My Windows Path environment variable is OK, the way it should be.
I ran the CMD prompt in administrators mode, and then just as regular power user. I have Win10. I de-installed pyinstaller and re-installed the latest version of pyinstaller.
Its just so weird that it worked seamlessly when I first installed it, then next day failed.
Any ideas how I get these missing and excluded modules in for a successful compile?
python module path pyinstaller
python module path pyinstaller
edited Mar 25 at 20:19
GoodinSo
asked Mar 25 at 17:34
GoodinSoGoodinSo
44 bronze badges
44 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55343533%2fpyinstaller-solved-path-errors-but-now-it-has-missing-modules-my-exe-comp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55343533%2fpyinstaller-solved-path-errors-but-now-it-has-missing-modules-my-exe-comp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown