dfm / george

Fast and flexible Gaussian Process regression in Python
http://george.readthedocs.io
MIT License
446 stars 128 forks source link

Failed to import KernelInterface #139

Open conan19842002 opened 3 years ago

conan19842002 commented 3 years ago

I've got this error after installing the software from source (python setup.py install)

ImportError: cannot import name 'KernelInterface' from 'george.kernel_interface' (C:\Users\an.thanhnguyen\AppData\Local\Python-Eggs\Python-Eggs\Cache\george-0.3.1-py3.8-win-amd64.egg-tmp\george\kernel_interface.cp38-win_amd64.pyd)
dfm commented 3 years ago

Can you give more details about your system and environment setup and exactly which steps you took to install.

conan19842002 commented 3 years ago

Thank you for quick response. Here are steps I have done:

Then got error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "C:\Users\an.thanhnguyen\Anaconda3\lib\site-packages\george-0.3.1-py3.8-win-amd64.egg\george\__init__.py", line 17, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "C:\Users\an.thanhnguyen\Anaconda3\lib\site-packages\george-0.3.1-py3.8-win-amd64.egg\george\kernels.py", line 27, in <module>
ImportError: cannot import name 'KernelInterface' from 'george.kernel_interface' (C:\Users\an.thanhnguyen\AppData\Local\Python-Eggs\Python-Eggs\Cache\george-0.3.1-py3.8-win-amd64.egg-tmp\george\kernel_interface.cp38-win_amd64.pyd)
>