pyke
pyke copied to clipboard
import error after success installation
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)
/Users/song/Downloads/pyke-master/pyke/init.py in
/Users/song/Downloads/pyke-master/pyke/kepextract.py in
/Users/song/Downloads/pyke-master/pyke/targetpixelfile.py in
/Users/song/Downloads/pyke-master/pyke/lightcurve.py in
/Users/song/anaconda/lib/python2.7/site-packages/oktopus/init.py in
/Users/song/anaconda/lib/python2.7/site-packages/oktopus/loss.py in
/Users/song/anaconda/lib/python2.7/site-packages/autograd/init.py in
/Users/song/anaconda/lib/python2.7/site-packages/autograd/differential_operators.py in
/Users/song/anaconda/lib/python2.7/site-packages/autograd/numpy/init.py in
/Users/song/anaconda/lib/python2.7/site-packages/autograd/numpy/numpy_wrapper.py in
ImportError: No module named einsumfunc
Hi @AstroSong! Thank you for letting us know. We will look into this issue.
Please note that we have a new package, lightkurve, which you may want to consider using instead of the older PyKE. See http://lightkurve.keplerscience.org
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, lightkurkve is currently more active than PyKE, so you may want to give it a try! If you end up doing that, please let us know what tools you were using in PyKE that are not supported by lightkurve! Thanks!
Hi @mirca, thanks for your introduction! I will have a try!