New submission from Jorge Ramos <ney...@gmail.com>:

When testing the builds when PGO is enabled, or by simply running rt.bat, the 
following error is (always) issued:

cpython\include\Python.h(8): fatal error C1083: Cannot include: 'pyconfig.h': 
No such file or directory

One example of steps taken is:

git clone g...@github.com:python/cpython.git
cd cpython
git checkout 3.6
PCBuild\get_externals.bat
Tools\msi\get_externals.bat
PCBuild\build.bat -p x64


I have to manually copy a pyconfig.h file from a working Python's include 
directory to the repositorie's include directory to fix this error. By the way, 
I had PYTHONHOME environment variable pointing to 

...\Python36\DLLs; ...\Python36\Lib; ...\Python36\Lib\site-packages; 
...\Python36\include

with no success.

----------
components: Build
messages: 329212
nosy: neyuru
priority: normal
severity: normal
status: open
title: Missing pyconfig.h when building from source
type: compile error
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35157>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to