# Python \\include file not found producing fatal error in Root build install

**URL:** <https://root-forum.cern.ch/t/python-include-file-not-found-producing-fatal-error-in-root-build-install/58118>\
**Category:** Newbie\
**Tags:** root\
**Created:** [February 9, 2024, 5:33pm UTC](https://root-forum.cern.ch/t/python-include-file-not-found-producing-fatal-error-in-root-build-install/58118 "2024-02-09T17:33:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omarpena1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/omarpena1/32/35670_2.png) [@omarpena1](https://root-forum.cern.ch/u/omarpena1)\
**Post date:** [February 9, 2024, 5:33pm UTC](https://root-forum.cern.ch/t/python-include-file-not-found-producing-fatal-error-in-root-build-install/58118/1 "2024-02-09T17:33:26Z")

</div>

I’m building root form the source and I came across this error:

\<\<\< cling interactive line includer \>\>\>:1:10: fatal error: ‘Files\Win  
dowsApps\PythonSoftwareFoundation.Python.3.11\_3.11.2032.0\_x64\_\_qbz5n2  
kfra8p0\include’ file not found  
#include “Files\WindowsApps\PythonSoftwareFoundation.Python.3.11\_3.11  
.2032.0\_x64\_\_qbz5n2kfra8p0\include”

This is confusing to me though, because this Python file \include _does_ exist in my file manager, and It was not my intention to install pyroot anyway.

The error continues:

CUSTOMBUILD : error : Parsing #pragma failed etc\dictpch\allLinkDefs.h  
[C:\Users\pomar\source\repos\BANG2024\root\_build\onepcm.vcxproj]  
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microso  
ft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom bu  
ild for ‘C:\Users\pomar\source\repos\BANG2024\root\_build\CMakeFiles\758  
d27561d4f19945d9889d650df9f44\allDict.cxx.pch.rule;C:\Users\pomar\sourc  
e\repos\BANG2024\root\_build\CMakeFiles\83be26e6a2729016eb2130ba9494a326  
\onepcm.rule’ exited with code 1. [C:\Users\pomar\source\repos\BANG2024  
\root\_build\onepcm.vcxproj]

\_ROOT Version: 6.30.04  
_Platform:_ Not Provided  
\_Compiler: MS Visual Studio C++ compiler

* * *

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [February 10, 2024, 6:05am UTC](https://root-forum.cern.ch/t/python-include-file-not-found-producing-fatal-error-in-root-build-install/58118/2 "2024-02-10T06:05:36Z")

</div>

Hi Omar,

Welcome to the ROOT Community!  
I am sorry you encountered this error. I propose to involve our Windows expert, @bellenot .  
In the meantime, if you need to carry out some work with ROOT, you could rely on the available binary distribution that is available [here](https://root.cern/releases/release-63004/).  
I hope this helps.

Best,  
Danilo

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [February 10, 2024, 10:54am UTC](https://root-forum.cern.ch/t/python-include-file-not-found-producing-fatal-error-in-root-build-install/58118/3 "2024-02-10T10:54:20Z")

</div>

Make sure Python is not installed in a PATH containing spaces, i.e. not in `C:\Program Files\...`  
And is `Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11 .2032.0_x64__qbz5n2kfra8p0\include` the correct and full PATH?  
I.e. is it really  
`C:\Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11 .2032.0_x64__qbz5n2kfra8p0\include`?

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 24, 2024, 10:55am UTC](https://root-forum.cern.ch/t/python-include-file-not-found-producing-fatal-error-in-root-build-install/58118/4 "2024-02-24T10:55:17Z")

</div>

Closed on February 24, 2024, 10:55am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
