Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Installation Script Error (RPi4) #486

Description

@Godrigos

When trying to execute the installation script curl -fsSL https://setup.swingmx.com | bash on a RPi4 (Linux rpi4 6.18.33+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.18.33-1+rpt1 (2026-06-01) aarch64) I got the following error.

Maybe blurhash-python is not compatible with Python 3.13!

Starting Swing Music installation...
Checking Python installation...
Found suitable Python: python3.13
Creating virtual environment in /home/rpi4/.local/bin/swingmusic-venv...
Virtual environment created successfully
Resolving Swing Music version...
Will install: swingmusic-2.1.13
Installing Swing Music. This may take a while...
  error: subprocess-exited-with-error
  
  × Building wheel for blurhash-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [35 lines of output]
      /tmp/pip-build-env-gxi7634n/overlay/lib/python3.13/site-packages/setuptools/_distutils/dist.py:287: UserWarning: Unknown distribution option: 'tests_require'
        warnings.warn(msg)
      toml section missing PosixPath('pyproject.toml') does not contain any of the tool sections: ['setuptools_scm', 'vcs-versioning']
      toml section missing PosixPath('pyproject.toml') does not contain any of the tool sections: ['setuptools_scm', 'vcs-versioning']
      /tmp/pip-build-env-gxi7634n/overlay/lib/python3.13/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: MIT License
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-aarch64-cpython-313/blurhash
      copying src/blurhash/_version.py -> build/lib.linux-aarch64-cpython-313/blurhash
      copying src/blurhash/__init__.py -> build/lib.linux-aarch64-cpython-313/blurhash
      running build_ext
      generating cffi module 'build/temp.linux-aarch64-cpython-313/blurhash._functions.c'
      creating build/temp.linux-aarch64-cpython-313
      building 'blurhash._functions' extension
      creating build/temp.linux-aarch64-cpython-313/build/temp.linux-aarch64-cpython-313
      creating build/temp.linux-aarch64-cpython-313/src
      aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Isrc/ -I/home/rpi4/.local/bin/swingmusic-venv/include -I/usr/include/python3.13 -c build/temp.linux-aarch64-cpython-313/blurhash._functions.c -o build/temp.linux-aarch64-cpython-313/build/temp.linux-aarch64-cpython-313/blurhash._functions.o -std=gnu99
      build/temp.linux-aarch64-cpython-313/blurhash._functions.c:50:14: fatal error: pyconfig.h: Arquivo ou diretório inexistente
         50 | #    include <pyconfig.h>
            |              ^~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for blurhash-python
ERROR: Failed to build installable wheels for some pyproject.toml based projects (blurhash-python)
command failed: /home/rpi4/.local/bin/swingmusic-venv/bin/pip install swingmusic --only-binary swingmusic --disable-pip-version-check --quiet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions