Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import KernelInterface #139

Open
conan19842002 opened this issue Feb 1, 2021 · 2 comments
Open

Failed to import KernelInterface #139

conan19842002 opened this issue Feb 1, 2021 · 2 comments

Comments

@conan19842002
Copy link

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
Copy link
Owner

dfm commented Feb 1, 2021

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

@conan19842002
Copy link
Author

conan19842002 commented Feb 1, 2021

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

  • Clone the code:
$ git clone https://github.com/dfm/george.git
  • Install from source:
$ cd george
python setup.py install
  • Try some code:
$ python
>>> from george import kernels

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)
>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants