How to Update Python Site Packages

Updating and installing Python site packages, also known as modules, is an important procedure to know if you're a Python software engineer as it's inevitable you'll need to update your Python code at some point. Installing and updating modules is a fairly straightforward process that requires the use of just a few Python commands.

Instructions

    • 1

      Launch the terminal connection to your development environment and navigate to the folder of your Python code by using the "cd" command and appending it with the directory path of the folder.

    • 2

      Type the following command to initiate the package installation and update:

      python setup.py install

    • 3

      Allow the installation command to automatically compile and update your packaged code module and then exit the terminal connection by typing the command: exit

Related Searches:

References

Comments

Related Ads

Featured