Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory #22

Open
fjpinilla opened this issue Dec 2, 2020 · 0 comments

Comments

@fjpinilla
Copy link

fjpinilla commented Dec 2, 2020

OS: Windows 10

While using Anaconda prompt, i created a new environment with

create -n rcn python=2.7

Then I try the install:

python setup.py install

Finally get the following error:
...
building '_dilation' extension

C:\Users\Pinilla\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\ProgramData\Anaconda3\envs\rcn_test1\include -IC:\ProgramData\Anaconda3\envs\rcn_test1\PC "-Ie:\downloads hdd\uned papers\rey-osterrieth\science_rcn-master\.eggs\numpy-1.16.6-py2.7-win-amd64.egg\numpy\core\include" /Tpscience_rcn/dilation/dilation.cc /Fobuild\temp.win-amd64-2.7\Release\science_rcn/dilation/dilation.obj

dilation.cc

e:\downloads hdd\uned papers\rey-osterrieth\science_rcn-master\.eggs\numpy-1.16.6-py2.7-win-amd64.egg\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION

science_rcn/dilation/dilation.cc(8) : fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory

error: command 'C:\\Users\\Pinilla\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2

Tried installing latest version of Visual Studio and the MSVC por python as the setup.py suggests.

Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant