Python.h missing from Ubuntu 12.04

后端 未结 4 836
情书的邮戳
情书的邮戳 2020-12-04 18:34

I installed an openflow controller on my Ubuntu 12.04 called RYU using:

 sudo  pip install ryu

I was trying to run a python file using ryu-ma

相关标签:
4条回答
  • 2020-12-04 19:19

    Install gevent directly - sudo apt-get install python-gevent.

    0 讨论(0)
  • 2020-12-04 19:21

    Even if you have Python installed, the header file and the library usually aren't installed by default. On Ubuntu, they come in a separate package called python-dev.

    0 讨论(0)
  • 2020-12-04 19:27

    hey community i solved this problem by this command

    pip3 install -U git+https://github.com/kti/python-netfilterqueue

    hope it works :)

    0 讨论(0)
  • 2020-12-04 19:37

    This should do it:

    sudo apt-get update; sudo apt-get install python-dev -y

    It will install any missing headers. It helped me a lot.

    0 讨论(0)
提交回复
热议问题