omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Cannot install holidays library

    Pythonista
    stash pip library
    4
    4
    1771
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TechieWeirdo
      TechieWeirdo last edited by

      Hello all,

      I want to install the holidays library in Pythonista through StaSh but I got this error halfway through installation:

      Save as: /private/var/mobile/Containers/Data/Application/DDC35476-2DE1-4E06-9C47-176C081E73AD/tmp//PyMeeus-0.3.7.tar.gz (732308 bytes)
      [====================] 100.00% | 715.1KiB          
      Extracting archive file ...
      Archive extracted.
      Running setup file ...
      PipError('cannot locate source folder/file: /private/var/mobile/Containers/Data/Application/DDC35476-2DE1-4E06-9C47-176C081E73AD/tmp/81bb2591023a4b95a4d089e40af1986a/PyMeeus-0.3.7/base.py',)
      Failed to run setup.py
      Fall back to directory guessing ...
      Error: Cannot locate packages. Manual installation required.
      

      I tried using selfupdate -f dev to see if that works but it doesn't. Does anyone have a solution to this?

      Thanks in advance.

      mikael 1 Reply Last reply Reply Quote 0
      • stephen
        stephen last edited by

        My Atempt:

        Save as: /private/var/mobile/Containers/Data/Application/55B1E85B-C218-4A63-BCFB-597948C9D285/tmp//PyMeeus-0.3.7.tar.gz (732308 bytes)
        [====================] 100.00% | 715.1KiB          
        Extracting archive file ...
        Archive extracted.
        Running setup file ...
        PipError('cannot locate source folder/file: /private/var/mobile/Containers/Data/Application/55B1E85B-C218-4A63-BCFB-597948C9D285/tmp/36a2c1cefa564ba98d626d23bd3978a8/PyMeeus-0.3.7/base.py',)
        Failed to run setup.py
        Fall back to directory guessing ...
        Error: Cannot locate packages. Manual installation required.
        

        Im thinking PyMeeus-0.3.7 (dependency to Holidays) is not a pure python module mainly because the tar file has 82items and that says header files to me lol but could just be doc files lol

        1 Reply Last reply Reply Quote 0
        • ccc
          ccc last edited by

          https://github.com/architest/pymeeus looks 100% Python. Click on the blue bar just under the number of commits.

          1 Reply Last reply Reply Quote 0
          • mikael
            mikael @TechieWeirdo last edited by

            @TechieWeirdo, suggest downloading the zip, then extracting and moving the pymeeus folder as-is to site-packages.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB Forums | Contributors