1.缺少pyconfig.h文件问题(python3.4)
执行下列两行命令:
$sudo apt-get install build-essential cmake
$sudo apt-get install python-dev python3-dev
如果是python2,直接安装python-dev
$sudo apt-get install python-dev
2.cannot import name ExtDeprecationWarning
重新激活虚拟环境即可。