AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ubuntu install python 3.94/14/2023 ![]() ![]() ![]() To install 3rd-party Python modules, you should use the common Python packaging tools. As an exception, pure-Python modules for Python 3 will work, but any compiled extension modules won't. Accordingly, they generally won't work with the Python interpreters from this PPA. Python modules in the official Ubuntu repositories are packaged to work with the Python interpreters from the official repositories. `python#.#-tk`: provides the standard library `tkinter` module `python#.#-gdbm`: provides the standard library `dbm.gnu` module #-lib2to3` : provides the `2to3-#.#` utility as well as the standard library `lib2to3` module #-distutils` : provides the standard library `distutils` module `python#.#-venv`: provides the standard library `venv` module `python#.#-dev`: includes development headers for building C extensions Here is a list of packages that may be useful along with the default install: As such, the packages follow debian's patterns and often do not include a full python distribution with just `apt install python#.#`. The packages provided here are loosely based on the debian upstream packages with some modifications to make them more usable as non-default pythons and on ubuntu. ![]() The packages may also work on other versions of Ubuntu or Debian, but that is not tested or supported. If you need these, reach out to asottile to set up a private ppa Note: for jammy, older python versions requre libssl<3 so they are not currently built Note: for focal, older python versions require libssl<1.1 so they are not currently built Note: Python2.7 (all), Python 3.6 (bionic), Python 3.8 (focal), Python 3.10 (jammy) are not provided by deadsnakes as upstream ubuntu provides those packages. ![]() Issues can be reported in the master issue tracker at: Please use this repository instead of ppa:fkrull/ deadsnakes. If you want to use them in a security- or-otherwise- critical environment (say, on a production server), you do so at your own risk. This PPA contains more recent Python versions packaged for Ubuntu.ĭisclaimer: there's no guarantee of timely updates in case of security problems or other issues. ![]()
0 Comments
Read More
Leave a Reply. |