首页 > 编程语言 > 详细

(ubuntu) pip install scandir 时出现错误 fatal error: Python.h: No such file or directory

时间:2017-12-09 15:40:00      阅读:264      评论:0      收藏:0      [点我收藏+]

  安装 jupyter时遇到这个问题,在这里查到了解决方法,特记录一下。

  解决方式为:

先安装 python-dev:

$ sudo apt-get install python-dev

然后再安装需要的包:

pip install scandir

 

(ubuntu) pip install scandir 时出现错误 fatal error: Python.h: No such file or directory

原文:http://www.cnblogs.com/tlz888/p/8011480.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!