ModuleNotFoundError: No module named 'jplephem.pck'
Did an update and attempted fresh install on another computer (both macs) of the mss and started getting the following python error that prevented the MSS from running:
File "/Users/shawnh/miniconda3/envs/mssenv/bin/mss", line 7, in <module>
from mslib.msui.mss_pyui import main
File "/Users/shawnh/miniconda3/envs/mssenv/lib/python3.7/site-packages/mslib/msui/mss_pyui.py", line 73, in <module>
from mslib.msui import topview
File "/Users/shawnh/miniconda3/envs/mssenv/lib/python3.7/site-packages/mslib/msui/topview.py", line 41, in <module>
from mslib.msui import remotesensing_dockwidget as rs
File "/Users/shawnh/miniconda3/envs/mssenv/lib/python3.7/site-packages/mslib/msui/remotesensing_dockwidget.py", line 33, in <module>
from skyfield.api import Loader, Topos, utc
File "/Users/shawnh/miniconda3/envs/mssenv/lib/python3.7/site-packages/skyfield/api.py", line 14, in <module>
from .planetarylib import PlanetaryConstants
File "/Users/shawnh/miniconda3/envs/mssenv/lib/python3.7/site-packages/skyfield/planetarylib.py", line 5, in <module>
from jplephem.pck import DAF, PCK
ModuleNotFoundError: No module named 'jplephem.pck'
Was able to get around the issue by force reinstalling jplephem…Likely an issue with the skyfield package.?.
-Shawn Honomichl
Comments (10)
-
-
reporter I am also using version 1.16.
-
I looked up the recent jplehem builds https://github.com/conda-forge/jplephem-feedstock/pulls doctests are failling, the pypi version is 2.12 but since 2.10 the conda build system finds errors.
-
reporter I was able to resolve the issue by force reinstalling jplephyem.
-
if I try to install manually
conda create -n pbenv jplephem
I can reproduce the problem
from jplephem.pck import DAF, PCK Traceback (most recent call last):File "<stdin>", line 1, in <module>ModuleNotFoundError: No module named 'jplephem.pck
but
pip install jplephem
--upgrade
solves it
For the next mss release we have to get the package on conda-forge fixed first
-
added an issue to
-
we can now use jplephem>=2.12
-
- changed milestone to upstream fix needed
-
We just created a new build of skyfield and I verified this in a new env
https://anaconda.org/conda-forge/skyfield/files
-
- changed status to resolved
fixed uptream by fixing jplephem and doing a releated skyfield build
Thx to all involved!
- Log in to comment
The recipe has set a rule
skyfield >=1.12
I see on conda-forge now 1.16. released 9days ago, https://anaconda.org/conda-forge/skyfield/files
which version is on your system?
this looks like similiar to:
https://github.com/conda-forge/skyfield-feedstock/issues/24