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?













0















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?










share|improve this question




























    0















    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?










    share|improve this question


























      0












      0








      0








      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?










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 20:19







      GoodinSo

















      asked Mar 25 at 17:34









      GoodinSoGoodinSo

      44 bronze badges




      44 bronze badges




















          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
          );



          );













          draft saved

          draft discarded


















          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.



















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현