Announcement

Collapse
No announcement yet.

AUDIOPHONICS RASPDAC MINI Kit

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by kit1cat
    Partial Success Copied the font folder and the oled_1.54_spi_audiophonics_py3.py file to /home/tc, ran the command python3 lms_oled_1.54_spi_audiophonics_py3.py from puttty and I have a display reading "Trying to connect player to LMS". My LMS server is on another PI connected to a usb drive.
    Excellent. This should clear up if you do the edits to the script described here: https://forums.slimdevices.com/showt...l=1#post980143
    You can find that information in the Diagnostics->Raspberry Pi page of piCorePlayer.

    Comment


    • #32
      Hi,
      I am trying to get another OLED script running on PcP 7 with python3.8. I get an error running req.pip with setup.py install for RPI.GPIO:

      ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zzs1y9mi/rpi-gpio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zzs1y9mi/rpi-gpio/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-76gpux7w/install-record.txt --single-version-externally-managed --prefix /tmp/raspdacmini-deps/usr/local --compile --install-headers tmp/raspdacmini-/local/include/python3.8/RPI.GPIO Check the logs for full command output.

      Has anybody successfully installed rpi-gpio in PcP 7 with python3.8?

      Comment


      • #33
        Originally posted by pmendiuk
        Hi,
        I am trying to get another OLED script running on PcP 7 with python3.8. I get an error running req.pip with setup.py install for RPI.GPIO:

        ERROR: Command errored out with exit status 1: /usr/local/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zzs1y9mi/rpi-gpio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zzs1y9mi/rpi-gpio/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-76gpux7w/install-record.txt --single-version-externally-managed --prefix /tmp/raspdacmini-deps/usr/local --compile --install-headers tmp/raspdacmini-/local/include/python3.8/RPI.GPIO Check the logs for full command output.

        Has anybody successfully installed rpi-gpio in PcP 7 with python3.8?
        Hi @pmendiuk,

        Sorry for the late reply. Looks like you might be hitting the issue described at https://www.raspberrypi.org/forums/v...44375#p1665230

        I was able to build it on pCP 7.0.0b6 using this workaround:
        Code:
        CFLAGS=-fcommon pip install rpi.gpio [--options]
        But a simpler solution is to install the pCP extension python3.8-rpi-gpio.tcz instead of rolling your own.
        Last edited by gregex; 2020-12-08, 21:32. Reason: Added solution

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎