Skip to content

Install Error

I'm fairly new to the python ecosystem, so I apologize if I missed something obvious, but after taking the following steps I received the error below and could use some help:

  • Installed Anaconda 2019.10 for Pyth 3 on Windows 10
  • Installed orekit 10.0 via "conda install -c conda-forge orekit" as described in the wiki
  • Downloaded the Basisc example from here
  • Opened the The_Basics.ipynb file in Jupyter and tried "run all"

The 2nd cell (importing orekit) throws the following error:

ImportError                     Traceback (most recent call last)
<ipython-input-2-e853488453c9> in <module>
----> 1 import orekit
      2 vm = orekit.initVM()
      3 print ('Java version:',vm.java_version)

H:\Apps\Anaconda3\lib\site-packages\orekit\__init__.py in <module>
      1 
      2 import os
----> 3 from . import _orekit
      4 
      5 __module_dir__ = os.path.abspath(os.path.dirname(__file__))

ImportError: DLL load failed: The specified module could not be found.`

The wiki does mention that it is necessary to activate the conda environment to be used, but I'm not sure how to do that so it becomes available inside the Jupyter notebook. If there is a step I'm missing, would it be possible to add to the documentation? Or maybe add some trouble shooting information in the notebook file directly. Thank you!