How to setup Python in your system, regardless of what other courses say

There are multiple ways of setting up Python depending on your platform. Moreover, the different people seem to prefer different “package managers” (used to add libraries to you project). It is unnecessarily confusing when you’re just starting out. You’ll get a chance to be opinionated later, but that’s not a wise choice right now.

To install Python, just use Anaconda 3: https://www.anaconda.com/distribution/

It has installers for all major platforms (Linux, Windows, OSX). You’re successful if you’re able to create a file called hello.py and run it by typing python hello.py:

print("Hello, world")

If the script runs successfully, you’ll get the words “Hello, world” in the terminal. At this point, you should be all set to follow any book/course and execute any scripts that they show you how to write.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Site Footer

Sliding Sidebar