Windows is missing Python.h

I am trying to run a Theano sample code that uses a Windows GPU. My python (with python-dev and Theano and all the necessary libraries) was installed from Anaconda. This is the error I encountered:

Cannot open include file: 'Python.h': no ​​such file or directory

Python.h is actually located in c: // Anaconda / include /

I assume that I should add this directory to some environment variable, but I do not know which one.

+5
source share
1 answer

Visual Studio Windows, : → C/C++ → → → C: /Anaconda/include/( Anaconda)

+3

Source: https://habr.com/ru/post/1614113/


All Articles