weramortgage.blogg.se

Debian install python
Debian install python








debian install python debian install python

Modify the -j to correspond to the number of cores in your processor. The -enable-optimizations option will optimize the Python binary by running multiple tests, which will make the build process slower. The script performs a number of checks to make sure all of the dependencies on your system are present. configure -enable-optimizations -enable-loadable-sqlite-extensions Navigate to the Python source directory and run the configure script:.When the download is complete, extract the tarball:.At the time of writing this article, the latest release is 3.8.2: Download the latest release’s source code from the Python download page with wget or curl.Sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev liblzma-dev Start by installing the packages necessary to build Python source:.I must mention that the python (python2.7) and pip for python 2.7 is working, and i tried to reinstall python using source compilation and i got another error while installing it (zlib error)īuilding Python 3.8 on Debian is a relatively straightforward process and will only take a few minutes. Zipimport.ZipImportError: can't decompress data zlib not availableįrom pip._ import main as pip_entry_point ModuleNotFoundError: No module named 'zlib'ĭuring handling of the above exception, another exception occurred:įile "", line 523, in _get_decompress_func the details is : Traceback (most recent call last):įile "", line 520, in _get_decompress_func It had python version 3.7.3 installed on it, so i tried to update it to version 3.8.3 and now i have version 3.8.3 installed but when i try to install pip using the official get-pip.py it throws an exception. I've installed debian 10.0.4 yesterday on my pc.










Debian install python