Leo Leo - 9 months ago 51
Python Question

Setting up environment in Python tools for visual studio

I am trying to install Theano and use the PTVS IDE.
After following all installation steps, when running "import theano" within the PTVS interactive window I get:

WARNING (theano.configdefaults): g++ not detected

I believe the problem is caused by missing environment variables since when I run "import theano" through env.bat as described in
http://deeplearning.net/software/theano/install_windows.html#configuring-the-environment, I do not get any warnings.

How can I setup the PTVS environment correctly so that theano doesn't complain?

Answer Source

Make sure that you have PTVS 2.2 (currently in RC). That version provides a way to specify environment variables in project properties.