Error installing python-snappy: snappy-c.h: No such file or directory

后端 未结 12 1401
感动是毒
感动是毒 2020-12-08 06:36

I am using amazon ec2 ubuntu 11.04 server

 sudo pip install python-snappy 

also I tried to downloaded package and entered \"sudo python set

12条回答
  •  情歌与酒
    2020-12-08 06:59

    I was having troubles with this for a while. FYI I'm trying to install Crossbar (https://crossbar.io/docs/Installation-on-Linux/)

    I did a bunch of googling and messed around quite a bit. I'm using Python 3.7.4 and what I think solved my problem is this :

    sudo yum install python-devel

    if that doesn't work try

    sudo yum install python3-devel

    source:

    https://github.com/giampaolo/psutil/issues/1143#issuecomment-475354786

    https://github.com/giampaolo/psutil/issues/1143

提交回复
热议问题