mikemountain / nfl-led-scoreboard

NFL LED scoreboard! This project can display live scores of your favourite football teams!
GNU General Public License v3.0
100 stars 29 forks source link

Install Error #62

Open bbgun75 opened 2 months ago

bbgun75 commented 2 months ago

Getting this error when trying to install. I was able to get the MLB version running fine.

fatal: destination path 'matrix' already exists and is not an empty directory. Running rgbmatrix installation... Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done
Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package python2.7-dev E: Couldn't find any package by glob 'python2.7-dev' E: Couldn't find any package by regex 'python2.7-dev' E: Unable to locate package python-pillow make -C ./lib make[1]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[1]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/lib' make -C examples-api-use make[1]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/examples-api-use' make -C ../lib make[2]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[2]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[1]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/examples-api-use' make -C bindings/python build make[1]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/bindings/python' make -C ../../lib make[2]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[2]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/lib' python setup.py build --build-lib . rgbmatrix/core.cpp:162:12: fatal error: longintrepr.h: No such file or directory 162 | #include "longintrepr.h" | ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 make[1]: [Makefile:67: build-python] Error 1 make[1]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/bindings/python' make: [Makefile:28: build-python] Error 2 make -C ./lib make[1]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[1]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/lib' make -C examples-api-use make[1]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/examples-api-use' make -C ../lib make[2]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[2]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[1]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/examples-api-use' make -C bindings/python build make[1]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/bindings/python' make -C ../../lib make[2]: Entering directory '/home/brian/nfl-led-scoreboard/matrix/lib' make[2]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/lib' python setup.py build --build-lib . rgbmatrix/core.cpp:162:12: fatal error: longintrepr.h: No such file or directory 162 | #include "longintrepr.h" | ^~~~~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 make[1]: [Makefile:67: build-python] Error 1 make[1]: Leaving directory '/home/brian/nfl-led-scoreboard/matrix/bindings/python' make: [Makefile:28: build-python] Error 2 error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. Installing required dependencies. This may take some time (10-20 minutes-ish)... HEAD is now at 0aa9f25 Update install.sh Already on 'master' Your branch is up to date with 'origin/master'. Already up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libxslt1-dev' instead of 'libxslt-dev' libxml2-dev is already the newest version (2.9.14+dfsg-1.3~deb12u1). libxslt1-dev is already the newest version (1.1.35-1). The following packages were automatically installed and are no longer required: libcamera0.2 libraspberrypi0 libwpe-1.0-1 libwpebackend-fdo-1.0-1 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. error: externally-managed-environment

× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. make: *** No targets specified and no makefile found. Stop. If you didn't see any errors above, everything should be installed! Installation complete! Play around with the examples in matrix/bindings/python/samples to make sure your matrix is working.

pjockey commented 2 months ago

Which version of python are you using?

bbgun75 commented 2 months ago

3

On Sat, Jul 13, 2024 at 7:03 PM S Milliken @.***> wrote:

Which version of python are you using?

— Reply to this email directly, view it on GitHub https://github.com/mikemountain/nfl-led-scoreboard/issues/62#issuecomment-2227142521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVIOH4JIVKRP3FGAJIOEBLZMG56XAVCNFSM6AAAAABK2JJOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGE2DENJSGE . You are receiving this because you authored the thread.Message ID: @.***>

pjockey commented 2 months ago

Python3.11 or 3.12? The newest version of Python requires all of the scripts be run inside of the virtual environment. Not sure how far along this program is in regards to this. Might even still using python2.7.

bbgun75 commented 2 months ago

3.11.2

On Sat, Jul 13, 2024, 7:53 PM S Milliken @.***> wrote:

Python3.11 or 3.12? The newest version of Python requires all of the scripts be run inside of the virtual environment. Not sure how far along this program is in regards to this.

— Reply to this email directly, view it on GitHub https://github.com/mikemountain/nfl-led-scoreboard/issues/62#issuecomment-2227153581, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVIOH2QWYTPKZ7GIU6ZPTTZMHDWZAVCNFSM6AAAAABK2JJOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGE2TGNJYGE . You are receiving this because you authored the thread.Message ID: @.***>

pjockey commented 2 months ago

The version of python my be your problem. I see nothing has been update for years in Github for the NFL program. I'l bet it oes not run on 3.11.

I use to have it running, but did not even try for the 2023 season. Send a DM to the creator to see if there is any progress.

alexanderthebadatcoding commented 1 month ago

I had a similar issue when Installing. I believe I just deleted the Matrix folder and then ran the installation again. My RPI is running on the older OS and I have python 3.7

bbgun75 commented 1 month ago

Still not working. I'm running a Raspberry Pi 4 B if that makes a difference.

On Fri, Jul 19, 2024, 11:31 AM Alexander @.***> wrote:

I had a similar issue when Installing. I believe I just deleted the Matrix folder and then ran the installation again. My RPI is running on the older OS and I have python 3.7

— Reply to this email directly, view it on GitHub https://github.com/mikemountain/nfl-led-scoreboard/issues/62#issuecomment-2239565718, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVIOH34XEJXBKYSMEVONUDZNE5MTAVCNFSM6AAAAABK2JJOCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGU3DKNZRHA . You are receiving this because you authored the thread.Message ID: @.***>