Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install matrix-lite in python3 #13

Open
bmaehr opened this issue Feb 8, 2021 · 0 comments
Open

Unable to install matrix-lite in python3 #13

bmaehr opened this issue Feb 8, 2021 · 0 comments

Comments

@bmaehr
Copy link

bmaehr commented Feb 8, 2021

Installing collected packages: matrix-lite
    Running setup.py install for matrix-lite ... error
    ERROR: Command errored out with exit status 1:
     command: /home/pi/googleHome/env/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9vwccy9n/matrix-lite_dc2728ddc57d4fb993c9ca00580afb8e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9vwccy9n/matrix-lite_dc2728ddc57d4fb993c9ca00580afb8e/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-6vw7gsiq/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/googleHome/env/include/site/python3.9/matrix-lite
         cwd: /tmp/pip-install-9vwccy9n/matrix-lite_dc2728ddc57d4fb993c9ca00580afb8e/
    Complete output (21 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-3.9
    creating build/lib.linux-armv7l-3.9/matrix_lite
    copying matrix_lite/sensors.py -> build/lib.linux-armv7l-3.9/matrix_lite
    copying matrix_lite/colour.py -> build/lib.linux-armv7l-3.9/matrix_lite
    copying matrix_lite/__init__.py -> build/lib.linux-armv7l-3.9/matrix_lite
    copying matrix_lite/led.py -> build/lib.linux-armv7l-3.9/matrix_lite
    running build_ext
    building '_matrix_hal' extension
    creating build/temp.linux-armv7l-3.9
    creating build/temp.linux-armv7l-3.9/hal_wrapper
    creating build/temp.linux-armv7l-3.9/hal_wrapper/drivers
    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/pi/googleHome/env/lib/python3.9/site-packages/pybind11/include -I/home/pi/googleHome/env/lib/python3.9/site-packages/pybind11/include -I/home/pi/googleHome/env/include -I/usr/include/python3.9 -c hal_wrapper/drivers/everloop.cpp -o build/temp.linux-armv7l-3.9/hal_wrapper/drivers/everloop.o -O3 -DVERSION_INFO="0.0.8" -std=c++11
    hal_wrapper/drivers/everloop.cpp:2:10: fatal error: ./everloop.h: No such file or directory
        2 | #include "./everloop.h"
          |          ^~~~~~~~~~~~~~
    compilation terminated.
    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/pi/googleHome/env/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9vwccy9n/matrix-lite_dc2728ddc57d4fb993c9ca00580afb8e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9vwccy9n/matrix-lite_dc2728ddc57d4fb993c9ca00580afb8e/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-6vw7gsiq/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/googleHome/env/include/site/python3.9/matrix-lite Check the logs for full command output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant