Cant get past pyzmq on install python for matrix creator

Went through installing Matrix Core on Raspi3b+ Buster
Everything fine.

Tried to next install Python

all steps worked fine then wont get past pyzmq during:
pip3 install -r requirements.txt

Note, after failing 3x, i tried python2 for grins and that worked ok
pip install -r requirements.txt

Any ideas?

Here is the error:

Failed building wheel for pyzmq
Running clean for pyzmq
Failed to build pyzmq

Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-install-b12koks5/pyzmq/’;f=getattr(tokenize, ‘open’, open)(file);’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-record-ko36vzcf/install-record.txt --single-version-externally-managed --compile --user --prefix=” failed with error code 1 in /tmp/pip-install-b12koks5/pyzmq/

Hi @rickmini,

Would MATRIX Lite Py work for your project or do you particularly need ZeroMQ? Lite Py has much easier syntax and fewer dependencies.

I can try to see if I can replicate and figure out why pyzmq download is not working. It could be that the library does not support the new python version if you have a later version.


1 Like

yes, i did just that. using lite now, and it does everything i need to do.

1 Like

I was able to get this to work by installing pyzmq without using wheel. I did:

pip3 install --no-binary pyzmq pyzmq
pip3 install tornado

Then I ran the example and everything worked like a charm!