![](https://seccdn.libravatar.org/avatar/5fef0a66f37e981cea2b0ed8061fb67b.jpg?s=120&d=mm&r=g)
On Wed, 2023-02-22 at 10:06 -0600, J Leslie Turriff wrote:
Hi, Trying to install a python-based package, I've run up against this dependency issue. I can't figure out how to tell zypper what I'm looking for. | ~ | ● zypper in -r Local OpenCobolIDE | Loading repository data... | Reading installed packages... | Resolving package dependencies... | | Problem: nothing provides 'python(abi) = 3.5' needed by the to be installed | OpenCobolIDE-4.7.6-1.noarch | Solution 1: do not install OpenCobolIDE-4.7.6-1.noarch | Solution 2: break OpenCobolIDE-4.7.6-1.noarch by ignoring some of its dependencies | | Choose from above solutions by number or cancel [1/2/c/d/?] (c): c | @10:00:15,root@pinto rc=4
(Why do I always have trouble with installs that involve Python?) Leslie -- Platform: Linux Distribution: openSUSE Leap 15.4 x86_64 Python 3.6.15
You can run: zypper search --provides 'python(abi) = 3.5' ; which would basically ask zypper to tell you what provides python3.5.X. My hunch here is that "OpenCobolIDE" was built w/ 'python3.5.X' but your system is running (as you show) 3.6.15 and nothing will actually provide 3.5 (not sure if it's gone from Leap). You can run: 'zypper info --requires <name of package>' or 'rpm -q --requires /path/to/package.rpm' Most (possibly, all - by definition maybe?) python packages will report their required 'python(abi)' and/or have it in the name. At least in my experience putting python packages together. -- ~ Scott Bradnick |- Windows Subsystem for Linux (WSL) Developer |-- Tumbleweed: |--- Dell Precision 5540 [NVIDIA Quadro T1000] (x86_64) |--- O-DROID H2+ [UHD Graphics 600] (x86_64) |--- IceWhale ZimaBoard 832 [Intel HD Graphics 500] (x86_64) |--- 2x Raspberry Pi 4 Model B Rev 1.2 (aarch64) |--- 1x Raspberry Pi 3 Model B Rev 1.2 (aarch64) |--- WinBook TW100 (x86_64) https://keys.openpgp.org/ :: DBC5AA9A2D2BAEBC