You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and anaconda is installed in /home/dun280/local/anaconda3/
I have been trying to get this to work with elpy mode in
emacs. But now I have realized that the problem is something to
do with jupyter's paths.
The following code snippet shows the problem. In the virtual env, I can see the right jupyter and python
but when I start "jupyter console" it picks up the wrong python.
tamar: echo $PATH
/home/dun280/local/anaconda3/bin:/home/dun280/local/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
tamar: which jupyter
/home/dun280/local/anaconda3/bin/jupyter
tamar: which python
/home/dun280/local/anaconda3/bin/python
tamar: python --version
Python 3.6.4 :: Anaconda, Inc.
tamar: source activate placer-env
(placer-env) tamar: echo $PATH
/home/dun280/local/anaconda3/envs/placer-env/bin:/home/dun280/local/anaconda3/bin:/home/dun280/local/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
(placer-env) tamar: which jupyter
/home/dun280/local/anaconda3/envs/placer-env/bin/jupyter
(placer-env) tamar: jupyter --version
4.4.0
(placer-env) tamar: which python
/home/dun280/local/anaconda3/envs/placer-env/bin/python
(placer-env) tamar: python --version
Python 3.6.5
(placer-env) tamar: jupyter kernelspec list
Available kernels:
python3 /home/dun280/local/anaconda3/envs/placer-env/share/jupyter/kernels/python3
(placer-env) tamar: jupyter console
Jupyter console 5.2.0
Python 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.
See -- "jupyter console" has found Python 3.6.4, so I can't load all of the modules I have installed in the virtual env.
Bye
The text was updated successfully, but these errors were encountered:
Hi All,
I am having a problem with jupyter finding the wrong version of python.
But first
My set-up is
and anaconda is installed in /home/dun280/local/anaconda3/
I have been trying to get this to work with elpy mode in
emacs. But now I have realized that the problem is something to
do with jupyter's paths.
The following code snippet shows the problem. In the virtual env, I can see the right jupyter and python
but when I start "jupyter console" it picks up the wrong python.
See -- "jupyter console" has found Python 3.6.4, so I can't load all of the modules I have installed in the virtual env.
Bye
The text was updated successfully, but these errors were encountered: