Install Miniforge¶
As of January 2025, we recommend installing Miniforge rather than Anaconda, for reasons of simplicity and licensing:
Miniforge installer, you may need to have a look at the Miniforge documentation for more information. Mamba is already included in Miniforge.
Environment setup¶
Create an environment with the following command:
Download the environment file positron_env.yaml and put it in the current folder.
Run the following command:
mamba env create --file=positron_env.yamlIf you don’t have mamba installed, you can use conda instead:
conda env create --file=positron_env.yamlThe install process will just be a bit slower.
Activate the environment:
conda activate positron
Run all examples locally¶
At this point, you should have all the necessary packages installed. You can run Jupyter Lab with the following command:
jupyter labAnd Jupyter Notebook with:
jupyter notebookInstalling GIT¶
If you’re new to Python, learning Git is a game-changer! It helps you track changes, undo mistakes, and collaborate easily. With GitHub or GitLab, you can contribute to open-source projects and showcase your work. Start using Git early—it’ll make your coding journey way smoother!
Procedure¶
For Windows users: GIT-SCM
Linux: GIT is already instlalled
MAC OS: for example, install it via Brew
brew install git
Installing VSCode¶
Visual Studio Code (VSCode) is a lightweight but powerful source code editor that runs on your desktop.
Procedure¶
Download the installer from the VSCode website.
Run the installer and follow the instructions.
Open VSCode and install the Python extension by Microsoft.