Can't import Orekit - 'DLL load failed'

Dominik Roszkowski

I try to run Orekit library through python. I use Anaconda, as proposed in official tutorial. Unfortunately, I come across following error as soon as I try to import orekit in python 2.7 console:

In [1]: import orekit
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-307c30f2343b> in <module>()
----> 1 import orekit

C:\Anaconda2\lib\site-packages\orekit\__init__.py in <module>()
      2 os.environ["PATH"] = r"C:/Anaconda2\Library\jre\bin\server" + os.pathsep + os.environ["PATH"]
      3
----> 4 import os, _orekit
      5
      6 __dir__ = os.path.abspath(os.path.dirname(__file__))

ImportError: DLL load failed: Nie mo┐na odnalečŠ okreťlonego modu│u.

I've already added required 2 environmental paths and installed JDK which is located in C:\Program Files\Java\jdk1.8.0_102. I've also installed JCC and Orekit through Anaconda. I use Windows 10 64 bit and python 2.7.

Do you have any suggestions what might gone wrong? How to run it properly?

Dominik Roszkowski

The solution was to install jdk through Anaconda by:

conda install -c cyclus java-jdk

I found it in official mailing list thread.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Can't import cv2; "DLL load failed"

From Dev

python tensorflow import dll load failed

From Dev

Can't load custom DLL

From Dev

PyQt5 pyuic Import error: DLL load failed

From Java

Import error: DLL load failed in Jupyter notebook but working in .py file

From Dev

Pyinstaller: Import Error: DLL load failed: The specified module could not be found

From

"DLL load failed" when import cv2 (opencv)

From Dev

Tensorflow (1.13.1) Exception when import: DLL load failed (Windows 10)

From Dev

importError: DLL load failed(import h5py)

From Dev

Gradle sync failed: Can't load library windows-amd64\native-platform.dll

From Dev

NUnit failed to load DLL

From Dev

Can't load a Haskell dll on Windows

From Dev

Can't load dll packaged with setuptools

From Java

"import torch" giving error "from torch._C import *, DLL load failed: The specified module could not be found"

From Dev

import matplotlib._png as _png Import: Error: DLL load failed: The specified module could not be found

From Dev

Can't load audio on pygame - Pygame error when loading audio: Failed loading libvorbisfile-3.dll: The specified module could not be found

From Dev

import _ssl error,DLL load failed ,Python 37 Anaconda Windows 10

From Dev

"ImportError: DLL load failed" in PyCharm w/ conda: how to automatically import conda's PATH?

From Dev

from scipy.linalg import _fblas: ImportError: DLL load failed: The specified module could not be found

From Dev

ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found

From Dev

Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

From Dev

windows vim ":py import socket" returns "load dll failed: method not found"

From Dev

DLL load failed : Python modules accessible through Spyder but import fail in cmd

From Dev

Import Error: DLL load failed: The specified module could not be found when using cxfreeze

From Dev

ImportError: DLL load failed: The specified procedure could not be found. (import sklearn)

From Dev

ImportError: DLL load failed: The specified module could not be found. While attempting to import TensorFlow

From Dev

import QCustomPlot2 ImportError: DLL load failed: The specified procedure could not be found

From Dev

PyInstallerImportError: Failed to load dynlib/dll?

From Dev

aspnetcore.dll failed to load

Related Related

  1. 1

    Can't import cv2; "DLL load failed"

  2. 2

    python tensorflow import dll load failed

  3. 3

    Can't load custom DLL

  4. 4

    PyQt5 pyuic Import error: DLL load failed

  5. 5

    Import error: DLL load failed in Jupyter notebook but working in .py file

  6. 6

    Pyinstaller: Import Error: DLL load failed: The specified module could not be found

  7. 7

    "DLL load failed" when import cv2 (opencv)

  8. 8

    Tensorflow (1.13.1) Exception when import: DLL load failed (Windows 10)

  9. 9

    importError: DLL load failed(import h5py)

  10. 10

    Gradle sync failed: Can't load library windows-amd64\native-platform.dll

  11. 11

    NUnit failed to load DLL

  12. 12

    Can't load a Haskell dll on Windows

  13. 13

    Can't load dll packaged with setuptools

  14. 14

    "import torch" giving error "from torch._C import *, DLL load failed: The specified module could not be found"

  15. 15

    import matplotlib._png as _png Import: Error: DLL load failed: The specified module could not be found

  16. 16

    Can't load audio on pygame - Pygame error when loading audio: Failed loading libvorbisfile-3.dll: The specified module could not be found

  17. 17

    import _ssl error,DLL load failed ,Python 37 Anaconda Windows 10

  18. 18

    "ImportError: DLL load failed" in PyCharm w/ conda: how to automatically import conda's PATH?

  19. 19

    from scipy.linalg import _fblas: ImportError: DLL load failed: The specified module could not be found

  20. 20

    ver.2 PyGreSQL ERROR: from _pg import * ImportError: DLL load failed: The specified module could not be found

  21. 21

    Error when trying to import sklearn modules : ImportError: DLL load failed: The specified module could not be found

  22. 22

    windows vim ":py import socket" returns "load dll failed: method not found"

  23. 23

    DLL load failed : Python modules accessible through Spyder but import fail in cmd

  24. 24

    Import Error: DLL load failed: The specified module could not be found when using cxfreeze

  25. 25

    ImportError: DLL load failed: The specified procedure could not be found. (import sklearn)

  26. 26

    ImportError: DLL load failed: The specified module could not be found. While attempting to import TensorFlow

  27. 27

    import QCustomPlot2 ImportError: DLL load failed: The specified procedure could not be found

  28. 28

    PyInstallerImportError: Failed to load dynlib/dll?

  29. 29

    aspnetcore.dll failed to load

HotTag

Archive