【发布时间】:2019-02-01 07:47:03
【问题描述】:
我想在 ubuntu 上安装一个旧的 python 应用程序。
当我跑步时:
python setup.py install
我收到此错误:
/tmp/easy_install-s6CQJl/event-0.4.2/setup.py:23: UserWarning: Could not find libevent
warnings.warn("Could not find libevent")
event.c:4:20: fatal error: Python.h: No such file or directory
我已经安装了
build-essential
python-setuptools
libevent-dev
我还有什么遗漏的吗?
【问题讨论】: