Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
运行pip install bitarray对我来说会导致致命错误:
pip install bitarray
bitarray/_bitarray.c:9:20: fatal error: Python.h: No such file or directory
我正在运行Ubuntu 12.04 升级。也许我错过了安装一些依赖项?
运行 Python 工作:
Python 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3] on linux2
至少,您将需要 python-dev 包
sudo apt-get install python-dev