Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Error while installing #28

Copy link
Copy link
@VolkerSchlegel

Description

@VolkerSchlegel
Issue body actions

I tried to install it using pip, but I got the following error:

pi@raspberrypi:~ $ pip install python-lirc
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting python-lirc
  Using cached python-lirc-1.2.3.tar.gz (36 kB)
Using legacy setup.py install for python-lirc, since package 'wheel' is not installed.
Installing collected packages: python-lirc
    Running setup.py install for python-lirc ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nTATVo/python-lirc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nTATVo/python-lirc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-Pik2vj/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python2.7/python-lirc
         cwd: /tmp/pip-install-nTATVo/python-lirc/
    Complete output (13 lines):
    running install
    running build
    running build_ext
    building 'lirc' extension
    creating build
    creating build/temp.linux-armv7l-2.7
    creating build/temp.linux-armv7l-2.7/lirc
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/lirc/ -I/usr/include/python2.7 -c lirc/lirc.c -o build/temp.linux-armv7l-2.7/lirc/lirc.o
    lirc/lirc.c:276:10: fatal error: lirc/lirc_client.h: Datei oder Verzeichnis nicht gefunden
     #include "lirc/lirc_client.h"
              ^~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nTATVo/python-lirc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nTATVo/python-lirc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-Pik2vj/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python2.7/python-lirc Check the logs for full command output.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.