I updated the packages with
conda update --all
I followed the idea as in here and changed the file that launches the root jupyter command (cf.
cat /dir_where_installed/anaconda2/bin/jupyter and the jupyter-notebook ( cf.
It was set as in the anaconda environment
conda info --envs as expected (both files had in the first line something like
#! /dir_where_installed/anaconda2/bin/python), but for some reason after the update I did and even after installing again everything(!), jupyter wasn't taking that path, instead it was importing from the 'stock' python (apparently).
Anyway, I changed both lines with
#! to take the path as in the output of
which pythonout put should be something like