Python3 with setuptools fails copying data if run by checkinstall












0















Running checkinstall for a python module which uses setuptools fails while running install_data with error: error: [Errno 2] No such file or directory on the first file it encounters. It is creating directories successfully however.



Before that it successfully performs prior steps like running install_lib, running build_py and copies files for those steps just fine, but not for running install_data.



Should I change my system python from version 3 to version 2.7 - it does successfully build a package without errors.



Why does python3 fail to copy files if run by checkinstall, while 2.7 does not fail?










share|improve this question



























    0















    Running checkinstall for a python module which uses setuptools fails while running install_data with error: error: [Errno 2] No such file or directory on the first file it encounters. It is creating directories successfully however.



    Before that it successfully performs prior steps like running install_lib, running build_py and copies files for those steps just fine, but not for running install_data.



    Should I change my system python from version 3 to version 2.7 - it does successfully build a package without errors.



    Why does python3 fail to copy files if run by checkinstall, while 2.7 does not fail?










    share|improve this question

























      0












      0








      0








      Running checkinstall for a python module which uses setuptools fails while running install_data with error: error: [Errno 2] No such file or directory on the first file it encounters. It is creating directories successfully however.



      Before that it successfully performs prior steps like running install_lib, running build_py and copies files for those steps just fine, but not for running install_data.



      Should I change my system python from version 3 to version 2.7 - it does successfully build a package without errors.



      Why does python3 fail to copy files if run by checkinstall, while 2.7 does not fail?










      share|improve this question














      Running checkinstall for a python module which uses setuptools fails while running install_data with error: error: [Errno 2] No such file or directory on the first file it encounters. It is creating directories successfully however.



      Before that it successfully performs prior steps like running install_lib, running build_py and copies files for those steps just fine, but not for running install_data.



      Should I change my system python from version 3 to version 2.7 - it does successfully build a package without errors.



      Why does python3 fail to copy files if run by checkinstall, while 2.7 does not fail?







      python python3






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 17 '18 at 21:49









      PF4PublicPF4Public

      1878




      1878






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Apparently a known bug with checkinstall: https://bugtrack.izto.org:4442/show_bug.cgi?id=33



          I got python 3.7.1 to work by passing --fstrans=no as suggested there.






          share|improve this answer
























          • The link in your answer does not open :(

            – PF4Public
            Dec 25 '18 at 13:42











          • It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

            – mtfurlan
            Dec 25 '18 at 14:14











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1323719%2fpython3-with-setuptools-fails-copying-data-if-run-by-checkinstall%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Apparently a known bug with checkinstall: https://bugtrack.izto.org:4442/show_bug.cgi?id=33



          I got python 3.7.1 to work by passing --fstrans=no as suggested there.






          share|improve this answer
























          • The link in your answer does not open :(

            – PF4Public
            Dec 25 '18 at 13:42











          • It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

            – mtfurlan
            Dec 25 '18 at 14:14
















          0














          Apparently a known bug with checkinstall: https://bugtrack.izto.org:4442/show_bug.cgi?id=33



          I got python 3.7.1 to work by passing --fstrans=no as suggested there.






          share|improve this answer
























          • The link in your answer does not open :(

            – PF4Public
            Dec 25 '18 at 13:42











          • It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

            – mtfurlan
            Dec 25 '18 at 14:14














          0












          0








          0







          Apparently a known bug with checkinstall: https://bugtrack.izto.org:4442/show_bug.cgi?id=33



          I got python 3.7.1 to work by passing --fstrans=no as suggested there.






          share|improve this answer













          Apparently a known bug with checkinstall: https://bugtrack.izto.org:4442/show_bug.cgi?id=33



          I got python 3.7.1 to work by passing --fstrans=no as suggested there.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 20 '18 at 15:23









          mtfurlanmtfurlan

          1335




          1335













          • The link in your answer does not open :(

            – PF4Public
            Dec 25 '18 at 13:42











          • It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

            – mtfurlan
            Dec 25 '18 at 14:14



















          • The link in your answer does not open :(

            – PF4Public
            Dec 25 '18 at 13:42











          • It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

            – mtfurlan
            Dec 25 '18 at 14:14

















          The link in your answer does not open :(

          – PF4Public
          Dec 25 '18 at 13:42





          The link in your answer does not open :(

          – PF4Public
          Dec 25 '18 at 13:42













          It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

          – mtfurlan
          Dec 25 '18 at 14:14





          It worked when I was looking at it... Seems like their entire bug tracker is down right now. Debian bug: bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 ubuntu bug: bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/78455

          – mtfurlan
          Dec 25 '18 at 14:14


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1323719%2fpython3-with-setuptools-fails-copying-data-if-run-by-checkinstall%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

          Terni

          A new problem with tex4ht and tikz

          Sun Ra