Leo
Leo

Reputation: 1223

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?

Upvotes: 0

Views: 4328

Answers (2)

QuartZ
QuartZ

Reputation: 164

I have the same problem. And turns out that i run the Blend version of the Visual Studio 2015, instead of the normal version. Hope this helps.

Upvotes: 0

Pavel Minaev
Pavel Minaev

Reputation: 101655

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

Upvotes: 1

Related Questions