Forum Archive

Cannot install holidays library

TechieWeirdo

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.

stephen

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

ccc

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

mikael

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