[New-bugs-announce] [issue34593] Missing inttypes.h

Gary Simpson report at bugs.python.org
Wed Sep 5 21:10:24 EDT 2018


New submission from Gary Simpson <gary at garysimpson.org>:

I started with Anaconda3 (python3.64). When I add #include "python.h" to my C++ code, I get the visual studio 2012 compile error:
anaconda3\include\pyport.h(6): fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory

I then installed python 3.7, and put that include directory into my project. But I get the same error when I try to compile. 
python.h calls pyport.h, which tries to call inttypes.h, which it can't find. I searched and cannot find inttypes.h anywhere on my computer.

----------
messages: 324656
nosy: garyrsimpson
priority: normal
severity: normal
status: open
title: Missing inttypes.h
type: compile error
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34593>
_______________________________________


More information about the New-bugs-announce mailing list