
On 2023-02-22 11:18:37 Scott Bradnick wrote:
|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.
Here's what zypper says when I try that --provides argument: | ~ | ● zypper search --provides 'python(abi) = 3.5' | Loading repository data... | Reading installed packages... | No matching items found. | @17:02:09,root@pinto rc=104 I would try the --requires option, but I'm not sure of the package name. Leslie -- Platform: Linux Distribution: openSUSE Leap 15.4 x86_64