Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Issues
  • #1266
Closed
Open
Issue created Sep 23, 2021 by Administrator@rootContributor

installation problem: time_ns requires Python 3.7

Created by: ZacharieALES

I am using Ubuntu 18.04 and I am not able to make solaar work (even if I succeeded on another computer with Ubuntu a few months ago...). I cloned the repository and followed the installation instructions but I am not able to install one of the dependecies: hid-logitech-dj. The command sudo apt install hid-logitech-dj gives me: Unable to locate package hid-logitech-dj. Was this package removed from the repositories recently?

Do you know how I could install it? I was not able to find any help with google. It just lead me to a file hid-logitech-dj.c but I don't know what to do with it.

Without this package, I get the following error:

solaar: error: Traceback (most recent call last):
  File "/home/zach/.local/lib/python3.6/site-packages/solaar/cli/__init__.py", line 198, in run
    c = list(_receivers(hidraw_path))
  File "/home/zach/.local/lib/python3.6/site-packages/solaar/cli/__init__.py", line 104, in _receivers
    from logitech_receiver import Receiver
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/__init__.py", line 36, in <module>
    from . import listener, status  # noqa: F401
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/listener.py", line 28, in <module>
    from . import base as _base
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/base.py", line 39, in <module>
    from .base_usb import ALL as _RECEIVER_USB_IDS
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/base_usb.py", line 32, in <module>
    from .descriptors import DEVICES as _DEVICES
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/descriptors.py", line 27, in <module>
    from .settings_templates import FeatureSettings as _FS
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/settings_templates.py", line 27, in <module>
    from solaar.ui import notify as _notify
  File "/home/zach/.local/lib/python3.6/site-packages/solaar/ui/__init__.py", line 29, in <module>
    from logitech_receiver.status import ALERT  # NOQA: E402 # isort:skip
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/status.py", line 29, in <module>
    from . import settings as _settings
  File "/home/zach/.local/lib/python3.6/site-packages/logitech_receiver/settings.py", line 27, in <module>
    from time import time_ns as _time_ns
ImportError: cannot import name 'time_ns'
Assignee
Assign to
Time tracking