In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article is about what to do if Python.h doesn't have that file or directory when you encounter a fatal Ubuntu error. Xiaobian thinks it is quite practical, so share it with everyone as a reference. Let's follow Xiaobian and have a look!
Eventlet was installed on ubuntu machine in lab today. There was an error when installing dependency package greenlet. There was a compilation error.
The error is as follows:
In file included from greenlet.c:5:0:greenlet.h:8:20: fatal error: Python.h: no file or directory
Compilation interrupt.
error: Setup script exited with error: command 'gcc' failed with exit status 1
The workaround is to install python-dev, which is Python's header file and static library package:
sudo apt-get install python-dev Thank you for reading! About "encounter Ubuntu fatal error Python.h does not have that file or directory how to do" This article is shared here, I hope the above content can be of some help to everyone, so that we can learn more knowledge, if you think the article is good, you can share it to let more people see it!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.