Start a personal dev blog on your domain for free with Hashnode and grow your readership.
Get Started

How to Setup Your Python Environment

Setting up a python environment is hard for beginners.

In this blog, I am going to teach you how to setup your own Python environment.

Step 1: Go to python.org/downloads

  • Download the latest Python version and wait for the download to finish.

Python Version: Python 3.9.5

python_org.png

Step 2: Open the Python 3.9.5

Note: Make sure that Add Python 3.9 to PATH is check

python_installation.png

  • Wait for the download to be completed and click the "Close" button after the installation.

download_wait.png

Step 3: Choosing an IDE (Integrated Development Environment)

  • An IDE makes it easier for programmers to write their codes with tools for software testing and writing.

  • For this tutorial, we are going to use PyCharm Community which is a free and open-source software.

To download PyCharm go to:

Click the "Download" button and wait for the download to finished.

pycharm_community.png

Step 4: Open the PyCharm Community file that you download.

You will see this welcome page for the installation and then click the "Next" button.

pycharm_welcome.png

  • In this section, you can customize the destination folder for the installation.

  • For the sake of this tutorial, we are going to choose the default destination folder.

Click the "Next" button.

pycharm_storage.png

  • For the installation options, makes sure that the

Add launchers dir to the PATH is check

  • You can include the other options if you want, but I will only include the ".py" extension.

Click the "Next" button.

pycharm_installation_options.png

  • Choose "JetBrains" as the default start menu folder.

Click the "Install" button.

startmenu_pycharm.png

  • PyCharm will start installing all the necessary files needed.

pycharm_installation.png

  • After completing the PyCharm Community Edition installation, you can either choose to "Reboot now" or "I want to manually reboot later".

  • For the sake of this tutorial, I am going to choose "Reboot now" to test if PyCharm is working just fine.

  • After choosing your desired option, click the "Finish" button.

pycharm_complete.png

  • That's it! After a reboot, launch PyCharm and create a project and wait for the extra files to be downloaded.

If you encounter any issues just comment below or reach out to my Twitter @ twitter.com/johnrhanzeleb

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

No Comments Yet