I'm using Jupyter notebook in an Anaconda environment with Python=3.6 while Jupyter is installed through conda package in the same environment. When I run Jupyter and execute the following:
import sys
sys.path
It mentions that uses Python 3.6 which is right.
But when I run the same environment through ssh from my laptop using the commands:
jupyter notebook --no-browser --port=8080
ssh -L 8080:localhost:8080 <REMOTE_USER>@<REMOTE_HOST>
And I open the related link using 8080 port, when I run:
import sys
sys.path
it mentions that uses Python 2.7.
How can I resolve this issue ?