question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error after installation

See original GitHub issue

Hello,

I’m on Ubuntu 20.04, and I’m unable to use your tool. The installation process sucess (I think), and show me that :

$ sudo bash installer.sh install
Requirement already satisfied: opencv-python in /usr/local/lib/python3.8/dist-packages (4.5.2.52)
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (5.3.1)
Requirement already satisfied: numpy>=1.17.3 in /usr/local/lib/python3.8/dist-packages (from opencv-python) (1.20.3)
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 21.1.2; however, version 21.2.4 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
make: Entering directory '/home/*****/linux-enable-ir-emitter/sources/uvc'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/*****/linux-enable-ir-emitter/sources/uvc'
install: creating directory '/usr/lib/linux-enable-ir-emitter'
install: creating directory '/usr/lib/linux-enable-ir-emitter/uvc'
'sources/uvc/get_query' -> '/usr/lib/linux-enable-ir-emitter/uvc/get_query'
'sources/uvc/len_query' -> '/usr/lib/linux-enable-ir-emitter/uvc/len_query'
'sources/uvc/set_query' -> '/usr/lib/linux-enable-ir-emitter/uvc/set_query'
'sources/uvc/execute_query.o' -> '/usr/lib/linux-enable-ir-emitter/uvc/execute_query.o'
install: creating directory '/usr/lib/linux-enable-ir-emitter/command'
'sources/command/boot.py' -> '/usr/lib/linux-enable-ir-emitter/command/boot.py'
'sources/command/configure.py' -> '/usr/lib/linux-enable-ir-emitter/command/configure.py'
'sources/command/fix.py' -> '/usr/lib/linux-enable-ir-emitter/command/fix.py'
'sources/command/__init__.py' -> '/usr/lib/linux-enable-ir-emitter/command/__init__.py'
'sources/command/manual.py' -> '/usr/lib/linux-enable-ir-emitter/command/manual.py'
'sources/command/run.py' -> '/usr/lib/linux-enable-ir-emitter/command/run.py'
'sources/command/test.py' -> '/usr/lib/linux-enable-ir-emitter/command/test.py'
'sources/globals.py' -> '/usr/lib/linux-enable-ir-emitter/globals.py'
'sources/IrConfiguration.py' -> '/usr/lib/linux-enable-ir-emitter/IrConfiguration.py'
'sources/linux-enable-ir-emitter.py' -> '/usr/lib/linux-enable-ir-emitter/linux-enable-ir-emitter.py'
'sources/linux-enable-ir-emitter.service' -> '/usr/lib/systemd/system/linux-enable-ir-emitter.service'

But when I try a command (sudo linux-enable-ir-emitter -h, or sudo linux-enable-ir-emitter configure), an error occur :

Traceback (most recent call last):
  File "/usr/bin/linux-enable-ir-emitter", line 20, in <module>
    logging.basicConfig(encoding='utf-8', format='%(levelname)s: %(message)s', level=logging.INFO)
  File "/usr/lib/python3.8/logging/__init__.py", line 2009, in basicConfig
    raise ValueError('Unrecognised argument(s): %s' % keys)
ValueError: Unrecognised argument(s): encoding

Is it a bug in your program, or a misconfiguration in pip ? And how could I repair that ? Thanks in advance

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
anon1892commented, Sep 25, 2021

Thank you very much, it’s working !

0reactions
EmixamPPcommented, Sep 25, 2021

With pleasure ! If you like the project, don’t hesitate to star the repository to support me 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
[SOLVED] Windows 10 Installation Has Failed
The “Windows 10 installation has failed” error is one of the most reported errors that users get when they try to install Windows...
Read more >
[SOLVED] Windows 10 Could Not Complete the Installation ...
If you have received an error message that says Windows 10 could not complete the installation after updating your operating system, you can...
Read more >
4 Solutions to Fix Windows 10/11 Installation Has Failed
A Running Program: If there is a program or service that is still running when you try to do the installation, this error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found