

My end goal is to get Jupyter notebook installed, configured, and up and running through a port on my Linux VM (Ubuntu 16.04.7). You have to click on the new menu and select Python3 or else you can select another option. I've already tried the solutions from another post that also had a different error I got previously, but they didn't work and I'm just really not sure where to look to solve these errors, so any pointers would be really helpful. We have installed all required packages and dependencies.
#Install jupyter notebook on vm install
Trying to upgrade pip with sudo python3 -m pip install -upgrade pip gives me the following error: File "/home/vmadmin/.local/bin/pip", line 7, in Īnd trying to install jupyter with pip3 gives me a similar error: File "/home/vmadmin/.local/bin/pip3", line 7, in However now it just keps giving me the following error anytime I try to use pip for anything (even pip -version to see the version gives this error): File "/home/vmadmin/.local/bin/pip", line 7, in įile "/home/vmadmin/.local/lib/python3.5/site-packages/pip/_internal/cli/main.py", line 57

It was working for a bit even though it kept saying there's a newer version available and I should upgrade. It automatically installed version 8, so I updated it with this sudo python3 -m pip install -upgrade pip. Modify the following entries: Accept incoming request from any host (not only localhost) Find c.NotebookApp.ip 'localhost' and change it to c.NotebookApp. Once you are done working for the day, Stop the VM. First generate jupyternotebookconfig.py file jupyter notebook -generate-config By default jupyternotebookconfig.py would have everything commented. Enter the commands below to create and configure the Jupyter configurations files: jupyter notebook -generate-config vi /.jupyter/jupyternotebookconfig. Once the instance is launched, you can click on a link to open JupyterLab: Click on the blue link to open Jupyter Lab. Enter the commands below and install the other software: source /.bashrc pip install tensorflow pip install keras Step 7. It can be uploaded directly through the upload of jupyter notebook or in the settings of the virtual machine (as shown below). You can create a new instance from the user interface: Create a new notebook instance from the UI.
#Install jupyter notebook on vm code
I've been getting errors when trying to use/update pip as well.Ĭhecked my Python version: I have both Python 2.7 and Python 3.5.2 installed on the VM. Go to AI Platform and click on Notebook Instances. For example, the following code snippet installs TFLearn in a Jupyter notebook: pip install tflearn When you exit the current session and at some point. I've already gone through all the steps on various different sites but I keep running into different errors, and when I try to use the jupyter command, it says it "is not found", so the installations clearly didn't work. I'm trying to install Jupyter notebook into a linux virtual machine.
