Skip to Content
Compiling Python from scratch with Github CodeSpaces
video

Compiling Python from scratch with Github CodeSpaces

by Alfredo Deza, Noah Gift
August 2022
Intermediate
18m
English
Pragmatic AI Labs

Overview

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

GitHub Codespaces and custom dotfiles

GitHub Codespaces and custom dotfiles

Alfredo Deza, Noah Gift
GitHub Codespaces Course

GitHub Codespaces Course

Alfredo Deza, Noah Gift
Python Bootcamp

Python Bootcamp

Alfredo Deza, Noah Gift

Publisher Resources

ISBN: 062212022VIDEOPAIMLOtherOtherOther