Re: python-cmake?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks for all the answers. So, yes, it is clear that installing cmake with 
pip is a bad idea. By the way, I only use pip in virtualenvs and install 
packages for the whole system with pacman or from PKGBUILDs from AUR.

But let me explain a little bit more the origin of this question, because 
maybe you can also find the problem faster than me. I was trying to find an 
issue trying to compile python-scikit-build.

Note in that the current PKGBUILD in AUR fails because there are some missing 
python2 packages that were removed from official repos. But in the comments, 
@bnavigator left a fixed PKGBUILD. I leave the link here:

https://build.opensuse.org/package/show/home:bnavigator:archlinux/python-scikit-build

Note also that he included a patch from upstream to modify 
platform.linux_distribution() (which was removed in python 3.8) to 
distro.id().

However, when trying to build this package we both get the same error:
TypeError: dist must be a Distribution instance

This is solved, however, when using cmake from pip in a virtualenv.

So maybe this is some issue related to python-setuptools, cmake (or other 
package) from official repos?

Again, thanks for all the answers.

Best wishes,
Iyán




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux