'ModuleNotFoundError: No module named 'lightkurve'

I'm trying to use lightkurve but Jupyter notebook keeps telling me that there isn't any module named 'lightkurve'. I've tried to find a solution but can't find one that works.

I'm currently learning off this video. Here's the code I've put into Jupyter notebook so far;

from lightkurve import search_targetpixelfile
pixelfile = search_targetpixelfile("KIC 8462852", quarter=16).download(quality_bitmask='hardest');

And I get this error;

Input In [7], in <cell line: 1>()
----> 1 import lightkurve
      2 from lightkurve import search_targetpixelfile
      3 pixelfile = search_targetpixelfile("KIC 8462852", quarter=16).download(quality_bitmask='hardest')

ModuleNotFoundError: No module named 'lightkurve'

If you need more info let me know.

Thanks in advance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source