Nothing is impossible for us
Your Company Address
Python is one of the most popular programming languages in the world. With its simple and easy to learn syntax Python is a great choice for beginners and experienced developers. Python is quite a versatile programming language, you can use it to do almost anything you want, write small scripts, build games, develop websites, create machine learning algorithms, analyze data and more. Python is also portable which means you can run the same Python script on different operating systems without any changes.
Python 2 support ends in 2020. Python 3 is the present and future of the language.
Python 3.7 is the latest major release of the Python language, and it includes many new features such as postponed evaluation of type annotations, support for data classes and context variables, customization of access to module attributes, and more.
This tutorial covers how to install Python 3.7 on Debian 9.
Building Python 3.7 on Debian is a relatively straightforward process and will only take a few minutes.
sudo apt updatesudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev curl libbz2-dev
curl -O https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz
At the time of writing this article, the latest release is
tar -xf Python-3.7.3.tar.xz
configurescript that will perform a number of checks to make sure all of the dependencies on your system are present:
cd Python-3.7.3./configure –enable-optimizations
--enable-optimizations option will optimize the Python binary by running multiple tests which will make the build process slower.
maketo start the build process:
make -j 8
For faster build time, modify the
-j flag according to your processor. If you do not know the number of cores your processor you can find it by typing
nproc. My system has 8 cores, so I am using the
sudo make altinstall
Do not use the standard
make install as it will overwrite the default system
You have installed Python 3.7 on your Debian 9 machine. You can start installing third-party modules with Pip and developing your Python 3 project.
If you have