Because I face a problem: When from imageio import imread
in my jupyter notebook, I get the error: ModuleNotFoundError: No module named 'imageio'
Whereas I can successfully import in my terminal, I try to figure out what happened.
When I execute sys.executable
in jupyter notebook and in the terminal, the results are different:
So I tried:(from https://github.com/jupyter/notebook/issues/1524#issuecomment-229713719)
/Users/shinyuwu/anaconda3/bin/python -m pip install ipykernel
/Users/shinyuwu/anaconda3/bin/python -m ipykernel install
But the sys.executable result in jupyter notebook and terminal are still different. Can anyone help me?