For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.
It makes sense to start learning by reading and watching videos about fundamentals and how things work.
Data Science and Machine Learning - 16 wks
Full-Stack Software Developer - 16w
Search from all Lessons
Curated list of small interactive and incremental exercises you can take to get better at any coding skill.
Curated section of projects to build while learning with simple instructions, videos, solutions, and more.
Guides on different topics related to the technologies that we teach in our courses
Social & live learning
The most efficient way to learn: Join a cohort with classmates just like you, live streams, impromptu coding sessions, live tutorials with real experts, and stay motivated.
Here is a way to install python on windows, mac or linux (commands vary depending on the operating system):
During the rest of the article you want check details on the rest of the installation steps depending on your operating system.
To update Python on a Windows Operating System to the latest, we can choose one of 2 ways, it's up to you which want you want to follow:
Latest Python 3 Release - Python 3.11.1(if there's a new version when you read this article, it won't be Python 3.11.1)
Windows installer (64-bit))
PowerShellterminal and typing
🖐 For a more in-depth guide regarding this procedure, please head to our step-by-step guide on how to update python on windows where we cover with pictures of every step.
Chocolatey Package Manager has become a favorite among Windows users when handling Python versions or adding other software to our System using PowerShell.
Open the PowerShell as administrator. On your start menu type
powershell and select
Run as Administrator
Install Chocolatey using the following command:
Having Chocolatey installed in our System, upgrading Python is now as simple as typing:
choco upgrade python -y
Let's verify that the install and upgrade was successful with the command we used earlier
Even if almost the entire Python community has moved to Python 3.X, MacOS still comes with version 2.9. To use the latest Python version you'll need to install it manually.
Let's first check if your System is indeed using the version 2.9 or a later one.
(command + space)and typing
If you receive a message like this:
It means that you need to update your python version ASAP, so let´s get into it.
There are 2 options to update Python on MacOs:
Download and install the version from python
Use Homebrew to intall pyenv package manager and then install the Python version(s) you want
Latest Python 3 Release - Python 3.11.1latest version when writing this article ) or scroll until you find the version you want.
To handle our Python development enviorments and Python version we use
Homebrew, a powerfull package manager for all Mac Operating Systems.
Most probably, you'll be prompted for
sudo (Super User-level access) and to grant it, you´ll need to write your password. Keep in mind, what you write, will not be displayed, not even with
Return(Enter) or cancel with any other key.
Now that we installed Homebrew on our System, we´ll install
pyenv to manage our Python versions more efficiently.
pyenv will allow us to do, is to switch between different Python versions (remember, Python 4 will come out soon, yay!)
Open a terminal as we did earlier
$ brew install pyenv
It´s done! We now have pyenv installed and now we'll make a new Python installation or upgrade it.
Thanks to pyenv we now can install Python with a simple one liner:
It´s not mandatory to use version 3.9.9, you can instead pass any version you wish to install.
If you receive an error regarding
C compiler cannot create executables most probably is XCode related and if you upgrade your MacOS to Big Sur, then probabilities goes higher.
Fixing this problem ain´t a big problem, but will take as much time as your internet speed will allow it.
pyenv install 3.9.9and it should work just fine
To use our pyenv we need to update our
.bash_profile with the following commands:
If your System doesn't have a
/bin directory in the
pyenv_root folder most probably, you only have
/shims directory. If it´s the case, you'll need this commands instead
We need to reset the terminal in order for all this changes to be accesible.
To reset the terminal, just type:
We´ll be using deadsnakes ppa (Personal Package Archives) that'll allows us to have multiple python versions installed on our System at the same time.