Ubuntu 18.04에서 ROS-melodic 노드 구동을 위한 설치 방법

python-pip 설치

pip 업그레이드

jupyter 설치

sudo apt install python-pip
sudo -H pip2 install --upgrade pip
sudo -H pip2 install jupyter

마지막으로 source ~/.bashrc 수행

jupyter에서 python2 메뉴가 안나오는 경우

To uninstall jupyter installed in

/usr/local/bin/jupyter

sudo -H python3 -m pip uninstall jupyter_core jupyter_qtconsole nbformat nbconvert notebook
python3 -m pip uninstall -y jupyter jupyter_core jupyter-client jupyter-console jupyterlab_pygments notebook qtconsole nbconvert nbformat jupyterlab-widgets nbclient
sudo -H python3 -m pip uninstall -y jupyter jupyter_core jupyter-client jupyter-console jupyterlab_pygments notebook qtconsole nbconvert nbformat jupyterlab-widgets nbclient