Skip to content

Update due to "george" library update #20

@stefanocovino

Description

@stefanocovino

Dear Ruth,

I'm playing with the library but I see an error as soon as I try to execute "gprot-fit":

gprot-fit -h
Traceback (most recent call last):
File "/Users/covino/Pacchetti/anaconda3/bin/gprot-fit", line 4, in
import('pkg_resources').run_script('gprot==0.1', 'gprot-fit')
File "/Users/covino/Pacchetti/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/covino/Pacchetti/anaconda3/lib/python3.7/site-packages/pkg_resources/init.py", line 1446, in run_script
exec(code, namespace, namespace)
File "/Users/covino/Pacchetti/anaconda3/lib/python3.7/site-packages/gprot-0.1-py3.7.egg/EGG-INFO/scripts/gprot-fit", line 10, in
from gprot.model import GPRotModel, GPRotModel2
File "/Users/covino/Pacchetti/anaconda3/lib/python3.7/site-packages/gprot-0.1-py3.7.egg/gprot/model.py", line 10, in
from george.kernels import ExpSine2Kernel, ExpSquaredKernel, WhiteKernel, CosineKernel
ImportError: cannot import name 'WhiteKernel' from 'george.kernels' (/Users/covino/Pacchetti/anaconda3/lib/python3.7/site-packages/george/kernels.py)

I think it is just a change in the "george" library, the WhiteKernel.

Thanks,
Stefano

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions