Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Setting Up Your Environment: Anaconda

Here are some resources for more information about topics covered in this lesson:

00:00 Before we get going, I want to make sure that you’ve got your environment set up. I highly recommend using the Anaconda Python distribution. Head on over to anaconda.com and go to the Products, Individual version.

00:13 The Individual version is an open-source distribution that comes installed with NumPy, pandas, SciPy, Matplotlib, and many other data science modules in Python.

00:24 It also comes installed with Jupyter Notebook and JupyterLab and the very nice editor called Spyder.

00:33 So if you head on over to anaconda.com, go onto the Products > Individual Edition version, and then scroll down a bit and click on the Download button, and then download the graphical installer for your operating system—either Windows, macOS, or Linux. I recommend the 64-Bit Graphical Installer.

01:04 Once the download is complete and you run the installation file, it’s a pretty straightforward installation process. Once the installation is done, you’ll have a navigator called Anaconda installed in your applications folder or your programs folder, and this is a dashboard containing links to open up all the different applications that come with Anaconda. You’ll have JupyterLab, which is the newer version of the Jupyter Notebook, and then the classical Jupyter Notebook app. You’ll have Spyder.

01:35 So go ahead and open either Jupyter Notebook or JupyterLab, whichever one you’re more comfortable with.

01:44 Once Jupyter launches, go ahead and create a new Notebook using Python 3. And then from this point, you’re all set to go. Let me show you another way to get going in this course if you don’t want to use Anaconda.

phillip48 on July 8, 2022

I installed Anaconda Navigator on my Kubuntu 22.04 machine and when I try to run the Jupyter notebook I get an error that says, “Access to the file was denied”. Apparently it’s a common issue and I need to figure it out before I can move forward.

phillip48 on July 8, 2022

I figured out the “access Denied” error with Jupyter Lab / Notebook on Ubuntu/Kubuntu 22.04.

If you want to use both Jupyter Lab AND Jupyter Notebook, then you have to do this twice. Here are the instructions for Jupyter Notebook…

From your command prompt, enter

$ jupyter notebook --generate-config

This will create a config file at /home/<your username>/.jupyter/jupyter_notebook_config.py

Edit that file in your favorite text editor and find the line that says,

# c.NotebookApp.use_redirect_file = True

Uncomment it (remove the pound sign) and change it to …

c.NotebookApp.use_redirect_file = False

If you want to use Jupyter Lab, then do the same thing, but replace notebook in the above example with lab; ie:

$ jupyter lab --generate-config

and do the same thing in the resulting config file. Now Anaconda Navigator will launch Jupyter lab or Jupyter Notebook, or both.

Martin Breuss RP Team on July 8, 2022

@phillip48 thanks for posting your solution :)

Become a Member to join the conversation.