ModuleNotFoundError: No module named 'jplephem.pck'

Issue #515 resolved
Shawn Honomichl created an issue

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)

  1. Reimar Bauer

    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

  2. Log in to comment