0

After create venv from terminal, i tried add the new env into jupyter notebook:

enter image description here

and restart kernel with env_test, run the pip list:

enter image description here

Why these two env pip list are not matching?

Jimmy Wang
  • 67
  • 9
  • Are you using a pyenv or conda? If this is the case, please try restarting your jupyter notebook server then try again. – yanyo Lee Feb 22 '23 at 03:22
  • I suppose your issue is same as [jupyter not using version set by pyenv](https://stackoverflow.com/questions/43914573/jupyter-not-using-version-set-by-pyenv) – yanyo Lee Feb 22 '23 at 03:31
  • I am using in pyenv (create venv with `python -m venv env_name`) and tried restart the notebook server still the same. – Jimmy Wang Feb 22 '23 at 03:48
  • I'm sorry that I have no windows environment to try, I wish these articles could help: [Using IPython / Jupyter Notebooks Under Version Control](https://stackoverflow.com/questions/18734739/using-ipython-jupyter-notebooks-under-version-control), [How to change the Jupyter start-up folder - might inspire how to change config](https://stackoverflow.com/questions/35254852/how-to-change-the-jupyter-start-up-folder). – yanyo Lee Feb 22 '23 at 05:22

0 Answers0