简体   繁体   中英

importing theano on anaconda 3.10.0

I'm trying to import theano and I'm using the anaconda version 3.10.0, Can anyone give me directions to how to proceed?

Thanks in advance

Problem occurred during compilation with the command line below: g++ -shared -g -D NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -DMS_WIN64 -IC:\\Users\\Supreeth\\Anaconda\\lib\\site-packages\\numpy\\core\\include -IC:\\Users\\Supreeth\\Anaconda\\include -o C:\\Users\\Supreeth\\AppData\\Local\\Theano\\compiledir_Windows-8-6.2.9200-Intel64_Family_6_Model_60_Stepping_3_GenuineIntel-2.7.9-64\\lazylinker_ext\\lazylinker_ext.pyd C:\\Users\\Supreeth\\AppData\\Local\\Theano\\compiledir_Windows-8-6.2.9200-Intel64_Family_6_Model_60_Stepping_3_GenuineIntel-2.7.9-64\\lazylinker_ext\\mod.cpp -LC:\\Users\\Supreeth\\Anaconda\\libs -LC:\\Users\\Supreeth\\Anaconda -lpython27

I find the solution from the Theano Installation Document

Specifically for Anaconda users just use the command

$ conda install mingw libpython

in the Anaconda Command Prompt

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM