Python dev package install

python3.10-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)

Please follow the guidelines below to uninstall python3.10-dev package:

3. Details of python3.10-dev package

Package: python3.10-dev
Architecture: amd64
Version: 3.10.4-3ubuntu0.1
Multi-Arch: allowed
Priority: optional
Section: python
Source: python3.10
Origin: Ubuntu
Maintainer: Ubuntu Core Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 510
Depends: python3.10 (= 3.10.4-3ubuntu0.1), libpython3.10-dev (= 3.10.4-3ubuntu0.1), libpython3.10 (= 3.10.4-3ubuntu0.1)
Recommends: libc6-dev | libc-dev
Filename: pool/main/p/python3.10/python3.10-dev_3.10.4-3ubuntu0.1_amd64.deb
Size: 507230
MD5sum: 8e27740b9700a0042df9bbef046ae5a4
SHA1: 015aa934a8cefdf323aa2d1468a7a24838cbc550
SHA256: 2a6e8b9ed9836a3b1f5806a23c02645fec79e0e670d721dfd6ab9033b67a360f
SHA512: 29c63677206e7c0a07f27e1a30cc615b33a8bea3d6641cf3f89385905118232ad95f05785118f80415f09444d9641734c7aaa44665f80b997a4db584e722f7f3
Description: Header files and a static library for Python (v3.10)
Description-md5: cfcf56ceefddbdcf80ef4ad2f78442d0
Task: ubuntustudio-publishing

Package: python3.10-dev
Architecture: amd64
Version: 3.10.4-3
Multi-Arch: allowed
Priority: optional
Section: python
Source: python3.10
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 510
Depends: python3.10 (= 3.10.4-3), libpython3.10-dev (= 3.10.4-3), libpython3.10 (= 3.10.4-3)
Recommends: libc6-dev | libc-dev
Filename: pool/main/p/python3.10/python3.10-dev_3.10.4-3_amd64.deb
Size: 507170
MD5sum: 18a56371b95bf14d528ddf9d51d1b462
SHA1: cd5deeb2d6a65b9cff0f8c327b531e9729f939f0
SHA256: efcf27ba88fef3c95474280bd3ab584edf5108f788e35791945d0a93fd36e6a7
SHA512: 6083acfde8f6de34082e735c4399658a2ebedc3a58780eb1882e57f2c1eaf8b67c5bc9a68dda1a11b336100768ab34208ef305c27d73df000b2a482e2ec339e8
Description: Header files and a static library for Python (v3.10)
Description-md5: cfcf56ceefddbdcf80ef4ad2f78442d0
Task: ubuntustudio-publishing

4. References on Ubuntu 22.04 LTS (Jammy Jellyfish)

libthrift-c-glib0 (0.16.0-2)

ns3-doc (3.35+dfsg-1ubuntu1)

libbpp-popgen8 (2.4.1-6)

iannix (0.9.20~dfsg0-5)

libtemplate-plugin-lingua-en-inflect-perl (0.04-1.1)

python3-colors (1.1.8-4)

libignition-utils-dev (1.2.0+ds-1)

libmail-srs-perl (0.31-6)

lua5.4 (5.4.4-1)

libismrmrd-dev (1.4.2.1-6)

mymake (2.2.1-1)

liboping-dev (1.10.0-5)

mbrola-hb2 (0.0.20040902+repack2-2)

gztool (1.4.3-1)

Читайте также:  What is functional programming in java

scdoc (1.11.2-1)

python3-asn1crypto (1.4.0-1)

Источник

What is python-dev package?

Python packages are specific programs bundled as a collection of one or more modules. Developers packed them to perform some specific functionality. Python modules are Python files having a ‘.py’ extension. Packages hold such Python programs in bundles for development or scientific purpose. In this article, you will learn about the Python-dev package, and how to install it.

What is Python-dev Package?

It is a popular development package that contains the header files developers require to build Python extensions. Python-dev comprises the header documents for fabricating Python augmentations. lxml is an extension for Python C-API compiled explicitly when developers perform the ‘pip install lxml‘. The lxml sources have more or less functionality like #include for your code.

Usually, on Linux systems, the binary libraries & header files of Python packages are separate. Therefore, developers can install Python which makes every code works fine. But in case, when developers want to build extensions to make augmentations for a program or to contribute as a community member, they have to install the corresponding dev package.

What is the use of the python-dev package?

The python-dev package includes everything a developer needs for compiling python extension modules. Note that the lxml package for python 3 (mentioned at ) already exists in Debian systems. But in other systems, you need to install the python-dev package because it contains the header files for the Python C language API. lxml leverages this API so that Python developers can include Python C extensions to obtain high-performance Python code.

How to install python-dev package?

To install python-dev tools or package, you have to open your terminal and type the command:

$ python3 -m pip install python-dev-tools --user --upgrade

Источник

How can I install python-dev off apt-get?

I have tried this and this and this and this None of those install python-dev, I got my amd64 system, 14.04 up and running, as I try to install wagtail, a django cms, I get the error:

 pysass.c:4:20: fatal error: Python.h: No such file or directory #include ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Cleaning up. Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/ libsass/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace ('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ojWg1O-record/install- record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/libsass Storing debug log for failure in /home/payload/.pip/pip.log 

How can I fix this and install the package? It’s because of the missing Python.h c header which is included in the python-dev package. When I tried the above links, it says: apt-get install python-dev

Package python-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: python E: Package 'python-dev' has no installation candidate 
Package python2.7-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'python2.7-dev' has no installation candidate 

I have researched on the debian archives and found a package for python 2.7.8-1 but that couldn’t be installed. Tried this on launchpad too but doesn’t work.

Читайте также:  Python define variable without value

Источник

How To Install python3.9-dev on Ubuntu 22.04

In this tutorial we learn how to install python3.9-dev on Ubuntu 22.04.

What is python3.9-dev

Header files, a static library and development tools for building Python (v3.9) modules, extending the Python interpreter or embedding Python (v3.9) in applications.

Maintainers of Python packages should read README.maintainers.

There are three methods to install python3.9-dev on Ubuntu 22.04. We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.

Install python3.9-dev Using apt-get

Update apt database with apt-get using the following command.

After updating apt database, We can install python3.9-dev using apt-get by running the following command:

Install python3.9-dev Using apt

Update apt database with apt using the following command.

After updating apt database, We can install python3.9-dev using apt by running the following command:

Install python3.9-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

After updating apt database, We can install python3.9-dev using aptitude by running the following command:

How To Uninstall python3.9-dev on Ubuntu 22.04

To uninstall only the python3.9-dev package we can use the following command:

Uninstall python3.9-dev And Its Dependencies

To uninstall python3.9-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

Remove python3.9-dev Configurations and Data

To remove python3.9-dev configuration and data from Ubuntu 22.04 we can use the following command:

Читайте также:  FIGCAPTION

Remove python3.9-dev configuration, data, and all of its dependencies

We can use the following command to remove python3.9-dev configurations, data and all of its dependencies, we can use the following command:

References

Summary

In this tutorial we learn how to install python3.9-dev package on Ubuntu 22.04 using different package management tools: apt , apt-get and aptitude .

Источник

python3-dev on Ubuntu 18.04 LTS (Bionic Beaver)

Please follow the step by step instructions below to install python3-dev package:

2. Uninstall / Remove python3-dev package

This is a short guide on how to uninstall python3-dev package:

3. Details of python3-dev package

python3-debiancontributors (0.7.7-1)

python3-debtcollector (1.13.0-0ubuntu1)

python3-decouple (3.1-2)

python3-defusedxml (0.5.0-1ubuntu1)

python3-deltarpm (3.6+dfsg-1build6)

python3-demjson (2.2.4-2)

python3-dendropy (4.3.0+dfsg-1)

python3-dfdatetime (20180110-1)

python3-dfwinreg (20170706-2)

python3-dialog (3.4.0-1)

python3-dictobj (0.4-1.2)

python3-dicttoxml (1.7.4-1)

python3-diff-match-patch (20121119-3)

python3-dirspec (13.10-1ubuntu1)

python3-dirsrvtests (1.3.7.10-1ubuntu1)

5. The same packages on other Linux Distributions

python3-dev (3.5.1-3) Ubuntu 16.04 LTS (Xenial Xerus)

python3-dev (3.9.4-1build1) Ubuntu 21.10 (Impish Indri)

python3-dev (3.10.4-0ubuntu2) Ubuntu 22.04 LTS (Jammy Jellyfish)

python3-dev (3.7.3-1) Debian 10 (Buster)

Источник

Оцените статью