Compiling Python from scratch with GitHub CodeSpaces
Learn to compile like a pro
This video will show you how to compile like a professional!.
Topics Covered Include:
Learn to install Python from scratch with GitHub Codespaces. Also learn to use GitHub Copilot with Ludwig.
-
00:00 Intro
-
01:09 Create new GitHub Repository
-
01:58 Create new GitHub Codespace with 16 cores
-
02:62 Configure Visual Studio Code Dark Theme
-
03:47 apt-get update and apt-get install python development tools
-
04:32 Using htop to monitor multi-core load
-
05:13 downloading python from www.python.org
-
05:45 Installing python from source
-
06:40 ./configure --enable-optimizations
-
07:28 Compiling python with multi-core flag make -j 16
-
09:24 Finishing install with sudo make altinstall
-
10:07 Replacing system python by using the newly installed python with ~/.bashrc alias
-
11:07 Creating virtualenv and sourcing it inside of ~/.bashrc
-
12:22 Create project scaffold with requirements.txt and Makefile
-
12:00 Installing ludwig with make install command
-
13:53 Install GitHub Copilot
-
14:29 Commit code and setup Github Actions
-
17:41 Test out GitHub Copilot auto-complete with "ludwig"
Learning Objectives
-
Create a Github Repo and launch it in a CodeSpaces instance
-
Create a GitHub Codespace with 16 cores
-
Compile Python from scratch with GitHub CodeSpaces and a 16 core machine
Additional Popular Resources