You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo pip3 install cwiid
Collecting cwiid
Downloading https://files.pythonhosted.org/packages/fa/e8/d0f03c60bbdc583a7fa37a126e9b20055fb3752861820c25bd212dc62756/cwiid-3.0.0.tar.gz
Installing collected packages: cwiid
Running setup.py install for cwiid ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-xljnc3nw/cwiid/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-zeoe3h6i/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
building 'cwiid' extension
creating build
creating build/temp.linux-x86_64-3.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c cwiidmodule.c -o build/temp.linux-x86_64-3.7/cwiidmodule.o
cwiidmodule.c: In function ‘PyInit_cwiid’:
cwiidmodule.c:157:3: warning: ‘return’ with no value, in function returning non-void
return;
^~~~~~
cwiidmodule.c:150:16: note: declared here
PyMODINIT_FUNC PyInit_cwiid(void)
^~~~~~~~~~~~
cwiidmodule.c:176:3: warning: ‘return’ with no value, in function returning non-void
return;
^~~~~~
cwiidmodule.c:150:16: note: declared here
PyMODINIT_FUNC PyInit_cwiid(void)
^~~~~~~~~~~~
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c Wiimote.c -o build/temp.linux-x86_64-3.7/Wiimote.o
Wiimote.c: In function ‘Wiimote_get_state’:
Wiimote.c:563:55: error: ‘struct motionplus_state’ has no member named ‘low_speed’
state.ext.motionplus.low_speed[CWIID_PHI],
^
Wiimote.c:564:55: error: ‘struct motionplus_state’ has no member named ‘low_speed’
state.ext.motionplus.low_speed[CWIID_THETA],
^
Wiimote.c:565:55: error: ‘struct motionplus_state’ has no member named ‘low_speed’
state.ext.motionplus.low_speed[CWIID_PSI]);
^
Wiimote.c: In function ‘Wiimote_read’:
Wiimote.c:799:2: warning: ‘PyObject_AsWriteBuffer’ is deprecated [-Wdeprecated-declarations]
if (PyObject_AsWriteBuffer(pyRetBuf, &buf, &len)) {
^~
In file included from /usr/include/python3.7m/Python.h:147,
from Wiimote.c:23:
/usr/include/python3.7m/abstract.h:500:17: note: declared here
PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj,
^~~~~~~~~~~~~~~~~~~~~~
Wiimote.c: In function ‘ConvertMesgArray’:
Wiimote.c:1009:60: error: ‘struct cwiid_motionplus_mesg’ has no member named ‘low_speed’
mesg[i].motionplus_mesg.low_speed[CWIID_PHI],
^
Wiimote.c:1010:60: error: ‘struct cwiid_motionplus_mesg’ has no member named ‘low_speed’
mesg[i].motionplus_mesg.low_speed[CWIID_THETA],
^
Wiimote.c:1011:60: error: ‘struct cwiid_motionplus_mesg’ has no member named ‘low_speed’
mesg[i].motionplus_mesg.low_speed[CWIID_PSI]);
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-xljnc3nw/cwiid/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-zeoe3h6i/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-xljnc3nw/cwiid/
The text was updated successfully, but these errors were encountered:
pip install not working from pypi
The text was updated successfully, but these errors were encountered: