By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Tutorial: Install Python correctly | Computer Week
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Tutorial: Install Python correctly | Computer Week
News

Tutorial: Install Python correctly | Computer Week

News Room
Last updated: 2026/07/12 at 4:49 PM
News Room Published 12 July 2026
Share
Tutorial: Install Python correctly | Computer Week
SHARE

Install Python packages

Once you have completed the basic installation of Python, the next step should not be to install the packages directly using Pip (the Python Package Manager) – even if you only want to use Python for a single project. Instead, it is recommended to set up virtual Python environments and install the packages within these environments. This means the basic installation remains “clean”.

Managing a variety of projects with virtual environments can be challenging. We recommend taking a look at the Poetry command line tool.

Install multiple Python versions in parallel

Things get really tricky when you want to install several different versions of the programming language in parallel. There are two things you should pay particular attention to here:

  • Always install any Python version in a separate directory.

  • Make sure the system paths refer to the Python version firstwhich should be used by default.

Setting up virtual environments for each individual project is highly recommended if different Python versions are to be used in parallel: This ensures that the correct version of the coding language is always automatically used when the corresponding virtual environment is activated. Windows users have another option in this regard: the Py Launcher app. This can be added as part of the installation process and allows you to use command line flags to select which Python version should be used for the respective script.

Manage multiple Python versions on Windows

Until now, it wasn’t really possible to manage Python versions installed on Windows. This changes from version 3.14 with a tool that the Python core team has newly developed. The Python Installation Manager for Windows is intended to be the tool of choice in the future for managing installations under Windows. Because the new Installation Manager itself is just a normal Windows app, there are several ways to install it. This works via:

The previous one pytool is to be replaced by the Installation Manager in the future, with the new tool significantly surpassing the old one in terms of functionality. The commands that worked before can still be used. You can get a useful overview of all important commands py help on:

IDG

To see which Python versions already exist on your Windows system, use the command py list:

Python Installation Manager listing versions of installed Python

IDG

If you want to make changes to Python instances that are already installed, you must remove them manually and then reinstall them using the Installation Manager. This is incredibly simple:

  • Include Python versions py install added,
  • call them after installation py - on, and
  • to use py uninstall for uninstallation.

To see which Python versions are available through the manager, use py list --online. The Python installations listed here can also be done with the command py list -f=json Export in JSON format (CSV and JSONL are also available). The default Python version is marked with an asterisk in the listing:

Default version of Python (3.14) shown with asterisk in Python Installation Manager

IDG

Once you receive the command py enter, this standard version will be called. If you want to change this, you can define an environment variable. To set Python 3.12 as the default version, you would feed Powershell with the following command:

$Env:PYTHON_MANAGER_DEFAULT=„3.12“

A command like py install However, it could easily conflict with preconfigured commands in virtual environments or with another alias. To avoid this, you can pymanager as a unique name for the Installation Manager. All commands remain unchanged, only the name of the executable changes.

Running the Python Installation Manager with the

IDG

In addition, it is also possible to use the Windows App Execution Aliases for commands like python and python3 to adapt. All you have to do is give py install --configure a. You will then be prompted to change your system’s aliases:

Prompt to manage Windows app execution aliases from the Python Installation Manager

IDG

Upgrade Python properly

Less extensive Python revisions (e.g. from 3.7.2 to 3.7.3) usually do not pose a problem: under Windows, the installer automatically recognizes the installed version and triggers the corresponding upgrade – usually the same under Linux and MacOS. However, any virtual environments you have created must also be upgraded – this does not happen automatically.

However, for large revisions (e.g. from 3.12 to 3.13), you should create new virtual environments within the individual project directories. Most IDEs that support Python (for example, Microsoft Visual Studio Code) detect this automatically and allow you to switch back and forth between different virtual environments.

This article originally appeared at our sister publication Infoworld.com.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article University bans laptops in the first year of study: what’s behind it? University bans laptops in the first year of study: what’s behind it?
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

University bans laptops in the first year of study: what’s behind it?
University bans laptops in the first year of study: what’s behind it?
Gadget
Humanoid robots have performed their first surgery, and it’s only the beginning!
Humanoid robots have performed their first surgery, and it’s only the beginning!
Computing
The scientific explanation behind summer lipothymia
The scientific explanation behind summer lipothymia
Gaming
The Swiss giant pCloud makes -70% on cloud storage for life and knocks out its rivals
The Swiss giant pCloud makes -70% on cloud storage for life and knocks out its rivals
Mobile

You Might also Like

AI recruiting: This is how your application cracks the algorithm
News

AI recruiting: This is how your application cracks the algorithm

4 Min Read
Dream jobs: How childhood dreams benefit career planning
News

Dream jobs: How childhood dreams benefit career planning

2 Min Read
This is how cleverly Android protects you from phone fraud
News

This is how cleverly Android protects you from phone fraud

10 Min Read
Motorola Razr Fold in the test: Luxurious foldable with few weaknesses
News

Motorola Razr Fold in the test: Luxurious foldable with few weaknesses

9 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?