Installing Python on Ubuntu Linux (Mambaforge, IDLE, Spyder, JupyterLab, VSCode)

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=BOTfBW3KQh8



Duration: 54:39
632 views
9


In this video I will use Mambaforge to install Python on Ubuntu. I'm using version 22.10 but the instructions will also work on other Linux distributions that have a modern Linux Kernel. Installation instructions should also be adaptable for Mac OS as it has a very similar install procedure to Linux (a separate video is available for Windows). I give a detailed overview of using the mamba package manager to maintain Python environments. The mamba package manager is a much improved package manager over pip and conda. Use of Mambaforge greatly alleviates multiple installation issues found using Anaconda or Miniconda.

A Python environment can be considered as a subinstallation and it is good practice to install each Python Integrated Development Environment (IDE) within its own Python environment. I demonstrates the use of Python from the Linux Terminal, using Text Editor as a script editor and using Files to view files to establish some core concepts before stepping into IDEs. I give an introduction to IDLE and Spyder which are great beginner IDEs for Python Script files (.py extension). I then move onto JupyterLab which is an IDE that can be used to work with both Python Script Files but is more focused on Interactive Python Notebook Files (.ipynb extension). Finally I move onto Visual Studio Code which is a more intermediate IDE that shares a number of common features with both Spyder and JupyterLab.

All the code used to install packages is found in the written guide. The written guide has a concise component which gives a table comparing the package managers followed by all the code used to create the Python environments. This can be used to quickly copy and paste for purposes of installation. The written guide also includes a detailed component which includes a large number of screenshots and has the same form as this video:
https://github.com/PhilipYip1988/python-tutorials/tree/main/001_install

0:00:00 Introduction, Python Package Managers and IDEs
0:02:08 Launching a Python Script File from the Linux Terminal
0:04:41 Mambaforge Install
0:07:48 The base Python Environment
0:11:44 The Integrated Development Learner Environment (IDLE)
0:15:12 The Scientific Python Development Environment (SPYDER)
0:31:50 Julia, Python and R Lab (JupyterLab)
0:45:38 Visual Studio Code (VSCode)
0:53:20 Removing a Python Environment

#python #ubuntu #mamba