-
Notifications
You must be signed in to change notification settings - Fork 35
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
import error after success installation #191
Comments
Hi @AstroSong! Thank you for letting us know. We will look into this issue. Please note that we have a new package, |
Hi @barentsen, thanks. I installed pyke in the conda environment, and now it can be imported. |
Hi @AstroSong, that's great that it works now! As @barentsen said, |
Hi @mirca, thanks for your introduction! I will have a try! |
Hi, when I installed pyke, I can not import it. I used both the two methods in pyke.keplerscience.org/install.html. What's the problem? Thanks for your help!
from pyke import kepextract
ImportError Traceback (most recent call last)
in ()
----> 1 from pyke import kepextract
/Users/song/Downloads/pyke-master/pyke/init.py in ()
18 from .kepdraw import *
19 from .kepdynamic import *
---> 20 from .kepextract import *
21 from .kepfilter import *
22 from .kepfit import *
/Users/song/Downloads/pyke-master/pyke/kepextract.py in ()
6 from tqdm import tqdm
7 from .utils import PyKEArgumentHelpFormatter
----> 8 from .targetpixelfile import KeplerTargetPixelFile, KeplerQualityFlags
9 from . import kepio, kepmsg, kepkey, kepstat, kepfunc
10
/Users/song/Downloads/pyke-master/pyke/targetpixelfile.py in ()
5 from matplotlib import patches
6 from astropy.io import fits
----> 7 from .lightcurve import KeplerLightCurve, LightCurve
8 from .prf import SimpleKeplerPRF
9 from .utils import KeplerQualityFlags, plot_image
/Users/song/Downloads/pyke-master/pyke/lightcurve.py in ()
2 import numpy as np
3 from scipy import linalg, signal, interpolate
----> 4 import oktopus
5 from astropy.io import fits as pyfits
6 from astropy.stats import sigma_clip
/Users/song/anaconda/lib/python2.7/site-packages/oktopus/init.py in ()
1 import os
2 from .version import version
----> 3 from .loss import *
4 from .prior import *
5 from .likelihood import *
/Users/song/anaconda/lib/python2.7/site-packages/oktopus/loss.py in ()
1 from abc import abstractmethod
----> 2 import autograd.numpy as np
3 from autograd import jacobian
4 from scipy.optimize import minimize, differential_evolution, basinhopping
5
/Users/song/anaconda/lib/python2.7/site-packages/autograd/init.py in ()
1 from future import absolute_import
----> 2 from .differential_operators import (
3 make_vjp, grad, multigrad_dict, elementwise_grad, value_and_grad,
4 grad_and_aux, hessian_tensor_product, hessian_vector_product, hessian,
5 jacobian, tensor_jacobian_product, vector_jacobian_product, grad_named,
/Users/song/anaconda/lib/python2.7/site-packages/autograd/differential_operators.py in ()
10 from .extend import primitive, defvjp_argnum, vspace
11
---> 12 import autograd.numpy as np
13
14 make_vjp = unary_to_nary(_make_vjp)
/Users/song/anaconda/lib/python2.7/site-packages/autograd/numpy/init.py in ()
1 from future import absolute_import
----> 2 from .numpy_wrapper import *
3 from . import numpy_boxes
4 from . import numpy_vspaces
5 from . import numpy_vjps
/Users/song/anaconda/lib/python2.7/site-packages/autograd/numpy/numpy_wrapper.py in ()
5 import numpy as _np
6 import autograd.builtins as builtins
----> 7 from numpy.core.einsumfunc import _parse_einsum_input
8
9 notrace_functions = [
ImportError: No module named einsumfunc
The text was updated successfully, but these errors were encountered: