Post

PythonPython

v
victoria mamidi

Posted on 4th March 2024|60 views

0
votes

Fatal Error Python H No Such File Or Directory

How to resolve the fatal error: Python.h: no such file oy directory?

 I am trying to create a shared library utilizing c extension file, but first I have to produce the output file using the command below

gcc -Wall utilsmodule.c -o Utilc

After executing this common, I am getting the error 

 

Answers
P
Sowjanya Kodiganti

Posted on 4th March 2024

If you are using raspberry pi, then use this following command

sudo apt-get install python-dev

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos