Closed maczet closed 4 years ago
This is already fixed in version 0.2.7, which hasn't been released on PyPI yet. Use:
pip install git+https://github.com/trainman419/python-cec.git@0.2.7#egg=cec
to install it with pip. See also issue #32.
Thanks, this solution resolve my problem.
Fixes it for me too. What is the process for getting this in PyPi?
Sorry I've been slow on this; I've uploaded 0.2.7 to pypi.
I have problem with installation on Raspbery Pi 3
Failed building wheel for cec Running setup.py clean for cec Failed to build cec Installing collected packages: cec Running setup.py install for cec ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-n9uavnwn/cec/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-9gzk5_g6/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build running build_ext building 'cec' extension creating build creating build/temp.linux-armv7l-3.7 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iinclude -I/usr/include/python3.7m -c cec.cpp -o build/temp.linux-armv7l-3.7/cec.o cec.cpp: In function ?PyObject set_stream_path(PyObject, PyObject)?: cec.cpp:487:41: error: invalid conversion from ?const char? to ?char? [-fpermissive] char arg_s = PyUnicode_AsUTF8(arg);