

Use the following command to activate the environment.

This command will create a new directory names my_env with that contains the below items using the ll command. Please use the below command to install it.Īfter the python is installed, you can create your own programming environment with venv option.Ĭreate a new directory for the Python programming environments # cd environmentsĬreate an environment by running the below command. # sudo pip3.6 install package_nameĪfter that need to install python36u-devel, this provides libraries and header files required for Python 3. The Pip is used to install and manage programming packages for the development projects. Install pip for managing software packages for Python. Start to install python 3 now by using the below commands. # sudo apt-getinstallbuild-essential libpq-dev libssl-dev openssl libffi-dev zlib1g-dev

Once this is done, need to install the following dipantiansess before the python installation. See the instructions for installing and configuring Python 3 on CentOS, Debian and Ubuntu below.īefore proceeding with the installation of Python, execute the below command to update all the system packages. Now the Python 3 is the latest version of the Python language. It is commonly used in web development, creating software prototypes and data analysis, etc. The Python language is a powerful programming language, and this is a great choice for both beginners and experienced developers.
