feram18 / now-playing

A Spotify 'Now Playing' Display for a Raspberry Pi driven RGB LED matrix board.
GNU General Public License v3.0
3 stars 1 forks source link

trying to install but getting error #1

Open RustyShackIeford opened 6 months ago

RustyShackIeford commented 6 months ago

hi,

i am wondering if this is compatible with the latest OS and if you are willing to fix.

looks like an awesome project,

thanks! error

feram18 commented 3 months ago

Late reply, but if you're still interested in trying out the project: my quick and dirty solution is to use the command sudo python3 -m pip install -r requirements.txt --break-system-packages. This just forces the dependencies to be installed to global system packages instead of using a dedicated virtual environment.

I have to look into a better way to handle it. Currently it needs to use the global system packages since the rgbmatrix dependency to render on the LED matrix is installed there.

RustyShackIeford commented 3 months ago

thanks for your reply.

i gave that a try and encountered this:

Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [2269 lines of output] Partial import of sklearn during the build process. setup.py:128: DeprecationWarning:

    `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    of the deprecation of `distutils` itself. It will be removed for
    Python >= 3.12. For older Python versions it will remain present.
    It is recommended to use `setuptools < 60.0` for those Python versions.
    For more details, see:
      https://numpy.org/devdocs/reference/distutils_status_migration.html

    from numpy.distutils.command.build_ext import build_ext  # noqa
  INFO: C compiler: arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC

any tips?

thanks again!