![]() The -H flag ensures that the security policy sets the home environment variable to the home directory of the target user. Upgrade pip and install the package by typing: sudo -H pip3 install -upgrade pip Step 2 - Create a Python Virtual Environment for Jupyter ![]() Next, install pip and the Python header files, which are used by some of Jupyter’s dependencies: sudo apt install python3-pip python3-dev Update the local apt package index and then download and install the packages: sudo apt update In order to complete this guide, you should have a Ubuntu system with non-root user with sudo privileges configured. We can create a virtual environment and install the jupyter notebook easily.īy the end of this guide, you will be able to run Python 3 code using Jupyter Notebook running on your system. If you want to keep the install minimal, and is not likely to use other preinstalled packages from anaconda this article is for you. I have an article showing you how to do it here - How to use python virtual environment with Anaconda ![]() If you are using windows the best way to setup Jupyter Notebook is by using Anaconda. It is often used for working with data, statistical modelling, and machine learning. It is an essential software used by data scientists. An open-source web application, Jupyter Notebook lets you create and share interactive code, visualisations, and more. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |