How to Use Jupyter Notebook's Markdown Property That way, you can create a separate folder for your project and make a virtual environment to the folder's location, as well as launch Jupyter Notebook to that same directory. NB: Launching Jupyter Notebook via the command line is recommended.
Related: Windows CMD Commands You Should Know Next, launch Jupyter Notebook by running the jupyter notebook command. Replace env_name with your preferred name.
Use the pip install notebook command to install Jupyter Notebook into that environment.
If you're a Windows user, you can use conda.bat create -name env_name. To do that, open your terminal and run the command conda create -name env_name. However, to use this method on Windows, ensure that you add Anaconda to the Windows path.Īlternatively, if you wish to avoid the Anaconda Navigator option entirely, you can create a conda environment and install Jupyter Notebook into it via the terminal only. Replace env_name with the name of the environment you just created via Anaconda Navigator. Optionally, after installing Jupyter Notebook via the Anaconda Navigator, you can open a terminal or command prompt and use the activate env_name command to activate the conda virtual environment you just created. Then select your chosen language and click Create to make a conda virtual environment. Next, look to the lower-left corner of the app and click on Create.Įnter a preferred name for your virtual environment in the Name field. To use the Anaconda Navigator option, on the sidebar of the app, click on Environments. You can create a conda environment and install Jupyter Notebook into it via the CMD or Anaconda Navigator. Then click on Anaconda Navigator in the search result menu to open it up.Īlthough the base path environment of Anaconda Navigator has Jupyter Notebook pre-installed into it, you need to install a new one each time you create an environment with it. To launch it on Windows, you can open up the Windows search bar and search for Anaconda. Once you have Anaconda installed on your machine, launch its Anaconda Navigator.
To use this option, you must download and install the latest compatible version of Anaconda distribution. It lets you create and activate your virtual environment and install Jupyter Notebook via its Anaconda Navigator in a few clicks. You can also avoid the command line technicalities when you use Anaconda distribution. How to Install and Launch Jupyter Notebook With Anaconda DistributionĪnaconda distribution is an IDE manager that lets you install Jupyter Notebook within a conda virtual environment. Next, run jupyter notebook to launch the Jupyter Notebook server in your default browser. While in that virtual environment, run the pip install notebook command to install Jupyter Notebook. Next, create and activate a Python virtual environment if you've not done so already. Once you've satisfied the above conditions, open up the command prompt to your chosen location. If you're a Windows user, ensure that you add Python to the Windows path after installing it to make it executable from the command line.
However, if you're a Mac or Linux user, you probably have Python already installed by default. Otherwise, head to the website to download and install the latest version of Python. To use this method, you must have Python installed on your machine.
When you install Jupyter Notebook into a virtual environment via the pip install command, you get to run it as an independent package or module in a virtual space. How to Install and Launch Jupyter Notebook With Pip Let's take a look at how you can install and use Jupyter Notebook on your local machine. It's an open-source and server-based IDE for manipulating data, sharing live code, as well as managing the data science workflow. If you're an aspiring data scientist that works with Python or R, you need to know how to use Jupyter Notebook.