devrt / ros-devcontainer-vscode

ROS dev container for vscode
Other
184 stars 47 forks source link

Can the jupyter notebook create a python3 notebook? #8

Open wegunterjr opened 3 years ago

wegunterjr commented 3 years ago

When I connect to the jupyter notebook browser, I can create a new file, but it is always python2.

Also, when doing pip install, is that saved: (partly newb docker question):

Please be noticed that the docker-compose down command will reset your environment including installed .deb packages. However, if you write package.xml files correctly, you can reinstall all the depending packages by entering the following two commands:

$ rosdep update
$ rosdep install --from-paths src --ignore-src -r -y
yosuke commented 3 years ago

In ROS1 images, we only configure jupyter notebook to create python2, because ROS1 only supports python2.

pip install persists if you don't run docker-compose down command.