You are not logged in.

#1 2019-02-14 12:36:37

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

[Solved] Solaar searches for missing package but the package exist

I've been having this issue when I installed solaar. When I run solaar, I get this message:

Solaar: missing required package 'python-pyudev'

But running pacman -Q python-pyudev I get:

python-pyudev 0.21.0-4

So it is obviously installed. I read on another thread that this was solved by installing solaar-git. I tried that but I have the same issue.
Any help?

Last edited by d_fajardo (2019-02-14 19:38:02)

Offline

#2 2019-02-14 12:43:12

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: [Solved] Solaar searches for missing package but the package exist

What is the output of

python
__import__(pyudev)

Last edited by loqs (2019-02-14 12:44:07)

Offline

#3 2019-02-14 14:16:04

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: [Solved] Solaar searches for missing package but the package exist

Thanks loqs. Here is the output:

>>> __import__(pyudev)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'pyudev' is not defined

What does this mean?

Offline

#4 2019-02-14 17:35:37

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: [Solved] Solaar searches for missing package but the package exist

It means I forgot quotes

__import__('pyudev')

Offline

#5 2019-02-14 18:55:02

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: [Solved] Solaar searches for missing package but the package exist

Well I got more output loqs:

>>> __import__('pyudev')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/site-packages/pyudev/__init__.py", line 43, in <module>
    from pyudev.device import Attributes
  File "/usr/lib/python3.7/site-packages/pyudev/device/__init__.py", line 28, in <module>
    from ._device import Attributes
  File "/usr/lib/python3.7/site-packages/pyudev/device/_device.py", line 40, in <module>
    from pyudev.device._errors import DeviceNotFoundAtPathError
  File "/usr/lib/python3.7/site-packages/pyudev/device/_errors.py", line 34, in <module>
    from six import add_metaclass
ModuleNotFoundError: No module named 'six'

Seems like I'm missing a module. What to do?

Offline

#6 2019-02-14 18:59:56

loqs
Member
Registered: 2014-03-06
Posts: 17,369

Re: [Solved] Solaar searches for missing package but the package exist

`pacman -S python-six` retest.

Offline

#7 2019-02-14 19:37:12

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: [Solved] Solaar searches for missing package but the package exist

Thanks loqs. Yes that solved the problem. I'll mark this as solved.

Offline

Board footer

Powered by FluxBB