2016-06-17 27 views
0

ich Python auf Windows laufen lasse, aber wenn ich Theanos importieren, stoße ich auf dieses Problem:Probleme in Theano Import

import theano 

WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.

+0

Also, was brauchen Sie Hilfe? – gurka

+0

Hi @ imsaurav-karna, hast du g ++ installiert? –

+0

Ich habe g ++ von mingw.org installiert. Nun, was ich bekomme, ist AttributeError: Modul 'Theano' hat kein Attribut 'Gof' beim Importieren von theano –

Antwort

0

Dies ist kein Problem, es ist ein WARNUNG als es sagt sehr deutlich. Es bedeutet nur, dass Sie g ++ auf Ihrem System nicht installiert haben und theano keine Optimierungen anwenden kann.

diese zu entfernen, nur g++ installieren oder tun, da es sehr klar sagt:

To remove this warning, set Theano flags cxx to an empty string.

+0

Ich habe versucht, installieren g ++ aber konnte nicht gelingen. Könnten Sie bitte ein paar bessere Möglichkeiten zur Installation von g ++ ohne irgendwelche Schluckauf geben? –

+0

Haben Sie Visual Studio? –

+0

Ja Visual Studio 2012 redistributables Version 14.0.0.1 –