weechat-matrix icon indicating copy to clipboard operation
weechat-matrix copied to clipboard

pyrsistent requires Python '>=3.5'

Open scy opened this issue 4 years ago • 1 comments

I’ve been trying to install weechat-matrix on a Raspberry Pi 4 with the apt-provided version of WeeChat. That version is 2.3, compiled against Python 2.7.15 (as /python version tells me).

So, naturally, I’ve tried to install weechat-matrix using

sudo apt install python-pip
pip2 install -r requirements.txt

However, that fails with a message of pyrsistent requires Python '>=3.5' but the running Python is 2.7.16. The dependency chain, according to pip, is pyrsistent>=0.14.0 (from jsonschema->matrix-nio[e2e]>=0.6->-r requirements.txt (line 9)).

As a workaround I could probably compile WeeChat myself or use their Debian repos, but I just wanted to let you know that the part of the readme that says “The minimal supported python2 version is 2.7.10.” is probably obsolete. ;)

scy avatar Dec 20 '20 16:12 scy

@scy I think a pull request with updates to the README will be welcome. Note that python 3.5 is still not good enough. We need 3.5.4 or 3.6.1 minimum :( -- lovely python environment...

strk avatar Jan 24 '21 13:01 strk