Closed xylake closed 5 years ago
You're using pip
installed by pip
(to /opt/local
). Probably, it segfaults because you built it against older libpython35, not against the one currently shipped with python3
package. Just use /opt/bin/pip3
, and it should be fine. Alternatively, force rebuild of pip
pip
(🤣):
/opt/bin/pip3 install --user --force-reinstall --ignore-installed --no-binary :all: pip
Taken from a stackoverflow answer, haven't tried it myself.
Also, I've just upgraded py3-pip
package to current latest pip
(10.0.0)
It doesn't work even after update to 10.0.0. I have not installed python3 before, so no old libpython35 in optware.
$ ipkg list-installed | grep py py3-ipython - 3.1.0-3 py3-pip - 10.0.0-1 py3-setuptools - 12.0.1-3 python3 - 3.5.4-1
$ python3 Python 3.5.4 (default, Jan 30 2018, 16:33:34) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
$ /opt/bin/pip3 Segmentation fault
BTW there is a link error for ipython, $ /opt/bin/ipython -bash: /opt/bin/ipython: /home/jenkins/Optware-ng/buildroot-armeabihf/host/staging/opt/bin/python3.5: bad interpreter: No such file or directory
and after fixing the link also a segfault occurs. $ /opt/bin/ipython Segmentation fault
Thank you very much for your effort.
This should be fixed now after python3
package major upgrade to 3.7.1. Please test if you're still with me :smile:
a recent update to python 3.5.4 leads to pip3 Segmentation fault
$ /opt/local/bin/pip3 Segmentation fault