pip install fails with a segfault for paho-mqtt



  • hi,

    i'm fiddling with getting the AWS IoT stack running on my Onion board, but when i use pip to install the paho-mqtt - or attempt to install the aws cli in the same way I just get a segmentation fault.

    is there something obvious that i'm doing wrong? is it likely to be a memory constraint?

    i have pulled in the python / aws iot code from the Yun integration with a view to poking that a bit, but it also barfs with the same result as the pip install process.

    any insight would be welcome!

    regards,

    nick



  • Hi @nick-holmes, can you copy and paste the terminal output when you try to do pip install?



  • sure.. it's not very enlightening [tried twice!]:

    root@Omega-0E3F:/# pip install paho-mqtt
    Downloading/unpacking paho-mqtt
    Segmentation fault
    root@Omega-0E3F:/# pip install paho-mqtt
    Downloading/unpacking paho-mqtt
    Segmentation fault
    

    it will install from source with the "python setup.py install" command.



  • @nick-holmes Can you try the pip command with --verbose flag? Perhaps it will show us a bit more?



  • @Boken-Lin
    This happens for each and every package I try to install.
    Here is the output with a verbose flag:
    -------------------------------------------------for django-----------------------------------------------------
    someuser@someserver.in [~/dir1/dir2/dir3]# pip --verbose install django
    Created temporary directory: /tmp/pip-ephem-wheel-cache-q3fvj_33
    Created temporary directory: /tmp/pip-req-tracker-dayy56nk
    Created requirements tracker '/tmp/pip-req-tracker-dayy56nk'
    Created temporary directory: /tmp/pip-install-v_h65hvw
    Collecting django
    1 location(s) to search for versions of django:

    --------------------------------------------for another package----------------------------------------

    someuser@someserver.in [~/dir1/dir2/dir3]# pip --verbose install pyipcalc
    Created temporary directory: /tmp/pip-ephem-wheel-cache-__h53ij2
    Created temporary directory: /tmp/pip-req-tracker-qtixt2kl
    Created requirements tracker '/tmp/pip-req-tracker-qtixt2kl'
    Created temporary directory: /tmp/pip-install-75_cuvdj
    Collecting pyipcalc
    1 location(s) to search for versions of pyipcalc:


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.