'Module not appearing in jupyter
I'm having issues with importing my modules into jupyter. I did the following:
- Create virtual env
- Activate it (everything below is in the context of my venv)
- install yahoo finance module:
pip install yfinance
- open python console and import it to test if working > OK!
- open jupyter notebook
import yfinance
throwsModuleNotFoundError: No module named 'yfinance
'
Any suggestions on how to fix this?
Solution 1:[1]
Try
pip3 install yfinance
If you are inside a conda environment, it might be better to use conda install
that handles all the dependencies:
conda install yfinance
Solution 2:[2]
try this one in your jupyter and the run it
!pip install yfinance
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Giorgos Myrianthous |
Solution 2 | aliiyo |