I used to run Watson Studio's Notebook on Python 3.6, but recently I got a message saying "Python 3.6 is no longer recommended, so change the environment to Python 3.7". This article describes how to change the version of the Watson Studio (or Cloud Pak for Data) Notebook Python environment.
Click the pencil (edit) icon on the notebook for which you want to change the Python version.
Click the icon with the i in the upper right corner:
The information will be displayed on the right, click on the Environment tab in it:
This time I want to change to Python 3.7, so select the same XS as it is now in Python 3.7. Click the environment definition dropdown:
Select from the drop-down list:
Check the contents and click "Change Environment".
After that, the screen will be displayed for a while.
You've successfully completed Python 3.7!
Click "Change Environment".
If it is locked or the kernel is running, the "Change environment" menu will not appear, so unlock it and click "Stop kernel" from the file action menu (vertical ...). Please stop and then go.
Select the runtime that runs your notebook from the drop-down list and click Associate:
I think it has changed for the time being, but the display is still Python 3.6.
It seems to change when booting the kernel after that. Click the pencil (edit) icon.
It was changed safely! ::
When I then go to the Notebooks section of the Assets tab, it says Python 3.7:
I introduced two methods. Either is easy. But it may be troublesome if there are many things to change ... that's all.
Recommended Posts