pmendiuk wrote:
> 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. Could you share a more detailed log of the
error?
I don't have a pCP 7 setup yet, but I wonder if there is some package
dependency drift since I originally posted the pip requirements in '#14'
(https://forums.slimdevices.com/showthread.php?112288-AUDIOPHONICS-RASPDAC-MINI-Kit&p=979971&viewfull=1#post979971).
You could try replacing the contents of req.pip with the following,
which builds clean for me.
Code:
--------------------
aiohttp==3.6.2
async-timeout==3.0.1
attrs==19.3.0
chardet==3.0.4
idna==2.10
luma.core==1.14.1
luma.oled==3.5.0
multidict==4.7.6
pyftdi==0.51.2
pyserial==3.4
pysqueezebox==0.4.0
pyusb==1.0.2
RPi.GPIO==0.7.0
semver==2.10.2
smbus2==0.3.0
spidev==3.4
yarl==1.5.1
-r requirements-common.txt
Pillow==7.2.0 --global-option="build_ext" --global-option="--disable-jpeg"
--global-option="--disable-zlib" --global-option="--enable-freetype"
--------------------
------------------------------------------------------------------------
gregex's Profile: http://forums.slimdevices.com/member.php?userid=70355
View this thread: http://forums.slimdevices.com/showthread.php?t=112288
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix