I created a Pyenv virtual env. After activating the env, I download libraries like pandas into it. However, when I open a jupyter notebook from the same environment's terminal, pandas is not found there. It gives a module not found. I believe it's because the Jupiter notebook is using python from somewhere else while my other terminal was using python from somewhere else:
From my terminal, when I check which python
, I get this:
/Users/username/.pyenv/shims/python
How can I ensure that my jupypter notebook is using the same env?
P.S I know I can separately install libraries again in the Jupiter notebook but that's not my qs