Pyinstaller in ubuntu16.04 :Python library not found: libpython3.6mu.so.1.0, libpython3.6m.so.1.0,...












0
















  1. I want to use pyinstaller make a bundle in ubuntu 16.04. the python env is created by conda which python=3.6.8.


  2. when i run pyinstaller, below error occour. I know ubuntu16.04 has python3.5 why python3.6-dev can not install?



    27087 INFO: Looking for eggs
    27087 INFO: Python library not in binary dependencies. Doing additional searching...
    Traceback (most recent call last):
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/bin/pyinstaller", line 10, in
    sys.exit(run())
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 111, in run
    run_build(pyi_config, spec_file, **vars(args))
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 63, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 838, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 784, in build
    exec(text, spec_namespace)
    File "", line 23, in
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 241, in init
    self.postinit()
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/datastruct.py", line 158, in postinit
    self.assemble()
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 573, in assemble
    self._check_python_library(self.binaries)
    File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 676, in _check_python_library
    raise IOError(msg)
    OSError: Python library not found: libpython3.6mu.so.1.0, libpython3.6m.so.1.0, libpython3.6.so.1.0
    This would mean your Python installation doesn't come with proper library files.
    This usually happens by missing development package, or unsuitable build parameters of Python installation.




    • On Debian/Ubuntu, you would need to install Python development packages


      • apt-get install python3-dev

      • apt-get install python-dev



    • If you're building Python by yourself, please rebuild your Python with --enable-shared (or, --enable-framework on Darwin)












share|improve this question







New contributor




baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0
















    1. I want to use pyinstaller make a bundle in ubuntu 16.04. the python env is created by conda which python=3.6.8.


    2. when i run pyinstaller, below error occour. I know ubuntu16.04 has python3.5 why python3.6-dev can not install?



      27087 INFO: Looking for eggs
      27087 INFO: Python library not in binary dependencies. Doing additional searching...
      Traceback (most recent call last):
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/bin/pyinstaller", line 10, in
      sys.exit(run())
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 111, in run
      run_build(pyi_config, spec_file, **vars(args))
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 63, in run_build
      PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 838, in main
      build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 784, in build
      exec(text, spec_namespace)
      File "", line 23, in
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 241, in init
      self.postinit()
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/datastruct.py", line 158, in postinit
      self.assemble()
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 573, in assemble
      self._check_python_library(self.binaries)
      File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 676, in _check_python_library
      raise IOError(msg)
      OSError: Python library not found: libpython3.6mu.so.1.0, libpython3.6m.so.1.0, libpython3.6.so.1.0
      This would mean your Python installation doesn't come with proper library files.
      This usually happens by missing development package, or unsuitable build parameters of Python installation.




      • On Debian/Ubuntu, you would need to install Python development packages


        • apt-get install python3-dev

        • apt-get install python-dev



      • If you're building Python by yourself, please rebuild your Python with --enable-shared (or, --enable-framework on Darwin)












    share|improve this question







    New contributor




    baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0









      1. I want to use pyinstaller make a bundle in ubuntu 16.04. the python env is created by conda which python=3.6.8.


      2. when i run pyinstaller, below error occour. I know ubuntu16.04 has python3.5 why python3.6-dev can not install?



        27087 INFO: Looking for eggs
        27087 INFO: Python library not in binary dependencies. Doing additional searching...
        Traceback (most recent call last):
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/bin/pyinstaller", line 10, in
        sys.exit(run())
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 111, in run
        run_build(pyi_config, spec_file, **vars(args))
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 63, in run_build
        PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 838, in main
        build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 784, in build
        exec(text, spec_namespace)
        File "", line 23, in
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 241, in init
        self.postinit()
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/datastruct.py", line 158, in postinit
        self.assemble()
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 573, in assemble
        self._check_python_library(self.binaries)
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 676, in _check_python_library
        raise IOError(msg)
        OSError: Python library not found: libpython3.6mu.so.1.0, libpython3.6m.so.1.0, libpython3.6.so.1.0
        This would mean your Python installation doesn't come with proper library files.
        This usually happens by missing development package, or unsuitable build parameters of Python installation.




        • On Debian/Ubuntu, you would need to install Python development packages


          • apt-get install python3-dev

          • apt-get install python-dev



        • If you're building Python by yourself, please rebuild your Python with --enable-shared (or, --enable-framework on Darwin)












      share|improve this question







      New contributor




      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.













      1. I want to use pyinstaller make a bundle in ubuntu 16.04. the python env is created by conda which python=3.6.8.


      2. when i run pyinstaller, below error occour. I know ubuntu16.04 has python3.5 why python3.6-dev can not install?



        27087 INFO: Looking for eggs
        27087 INFO: Python library not in binary dependencies. Doing additional searching...
        Traceback (most recent call last):
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/bin/pyinstaller", line 10, in
        sys.exit(run())
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 111, in run
        run_build(pyi_config, spec_file, **vars(args))
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/main.py", line 63, in run_build
        PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 838, in main
        build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 784, in build
        exec(text, spec_namespace)
        File "", line 23, in
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 241, in init
        self.postinit()
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/datastruct.py", line 158, in postinit
        self.assemble()
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 573, in assemble
        self._check_python_library(self.binaries)
        File "/home/bibao/miniconda3/envs/labelmecs_pack_server/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 676, in _check_python_library
        raise IOError(msg)
        OSError: Python library not found: libpython3.6mu.so.1.0, libpython3.6m.so.1.0, libpython3.6.so.1.0
        This would mean your Python installation doesn't come with proper library files.
        This usually happens by missing development package, or unsuitable build parameters of Python installation.




        • On Debian/Ubuntu, you would need to install Python development packages


          • apt-get install python3-dev

          • apt-get install python-dev



        • If you're building Python by yourself, please rebuild your Python with --enable-shared (or, --enable-framework on Darwin)









      python python3






      share|improve this question







      New contributor




      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 36 mins ago









      baodii beebaodii bee

      1




      1




      New contributor




      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      baodii bee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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
          });


          }
          });






          baodii bee is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127413%2fpyinstaller-in-ubuntu16-04-python-library-not-found-libpython3-6mu-so-1-0-lib%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








          baodii bee is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          baodii bee is a new contributor. Be nice, and check out our Code of Conduct.













          baodii bee is a new contributor. Be nice, and check out our Code of Conduct.












          baodii bee is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1127413%2fpyinstaller-in-ubuntu16-04-python-library-not-found-libpython3-6mu-so-1-0-lib%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

          GameSpot

          connect to host localhost port 22: Connection refused

          Getting a Wifi WPA2 wifi connection