FS#78804 - [yq] can't find module yq

Attached to Project: Arch Linux
Opened by Samuel Brack (Samuel) - Friday, 16 June 2023, 07:33 GMT
Last edited by Toolybird (Toolybird) - Friday, 16 June 2023, 08:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Daurnimator (daurnimator)
Caleb Maclennan (alerque)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After installation of the yq package, executing the program fails with this error message:

Traceback (most recent call last):
File "/usr/bin/yq", line 5, in <module>
from yq import cli
ModuleNotFoundError: No module named 'yq'

Additional info:
* package version(s): 3.2.2-2

Steps to reproduce:

1. Install yq with pacman

2. Try to use it on any yaml file
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 16 June 2023, 08:01 GMT
Reason for closing:  Works for me
Additional comments about closing:  "Not reproducible"
Comment by Daniel M. Capella (polyzen) - Friday, 16 June 2023, 07:46 GMT
Seems to work fine.
Comment by Samuel Brack (Samuel) - Friday, 16 June 2023, 07:47 GMT
Do you already have installed yq in pip?

Once I installed it in pip, the Arch package works for me as well.
Comment by Daniel M. Capella (polyzen) - Friday, 16 June 2023, 07:48 GMT
Nope, just from pacman.
Comment by Toolybird (Toolybird) - Friday, 16 June 2023, 07:54 GMT
> Seems to work fine.

Yep, same here in a fresh VM. It appears something is amiss with @reporter's system.
Comment by Samuel Brack (Samuel) - Friday, 16 June 2023, 07:59 GMT
Okay thanks for the feedback, I'll investigate what is wrong on my machine.

Loading...