Python packages can be installed by typing: You can learn more about modules or packages that you can install with pip by reading “ How To Import Modules in Python 3.” To manage software packages for Python, let’s install pip, a tool that will install and manage programming packages we may want to use in our development projects. While this number may vary, the output will be similar to this: You’ll receive output in the terminal window that will let you know the version number. Once the process is complete, you can check the version of Python 3 that is installed in the system by typing: The -y flag will confirm that we are agreeing for all items to be installed. To make sure that your version is up-to-date, let’s update and upgrade the system with the apt command to work with the Advanced Packaging Tool: Step 1 - Setting Up Python 3ĭebian 11 ships with Python 3 pre-installed. With your server and user set up, you are ready to begin. If you’re not already familiar with a terminal environment, you may find the article “ ( )” useful for becoming better oriented with the terminal. To learn how to achieve this setup, follow our Debian 11 initial server setup guide. In order to complete this tutorial, you should have a non-root user with sudo privileges on a Debian 11 server. Programming on a server has many advantages and supports collaboration across development projects. This tutorial will get your Debian 11 server set up with a Python 3 programming environment. An increasingly popular language with many different applications, Python is a great choice for beginners and experienced developers alike. Inspired by the British comedy group Monty Python, the development team behind Python wanted to make a language that was fun to use. A versatile programming language, Python can be used for many different programming projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |