Installing theano

后端 未结 1 1119
天命终不由人
天命终不由人 2020-12-07 02:21

I installed theano with Spyder 2.3.8 on Windows 7 64-bit by running \"pip install theano\". It worked well. But then, when I tried to run \"import theano\", I got the follow

相关标签:
1条回答
  • 2020-12-07 02:50

    Is there a reason you are using Spyder?

    On windows 7 x64, I would advise to either use Canopy from Enthought, which, if you are a student , you can get the complete package for free.

    Or, i also used WinPython before, it worked fine. Although you have to follow all steps, including :

    Installing Windows Software Development Kit version 7.1 or you can install the newest Visual Studio which comes with it and it comes with an option to install Microsoft Visual C++ Compiler for Python 2.7

    Installing TDM GCC

    But be sure to check

    http://deeplearning.net/software/theano/install_windows.html

    You might wanna check if you missed any steps.

    I had problems with Anaconda and Theano before. So i gave up on using it. However a friend had success with it and Theano as well.

    Just be sure you have your environment and python setup installed properly prior to theano install.

    Doing

    where gcc
    where gendef
    where cl
    where nvcc
    

    on the Command Prompt Might reveal something...

    Im not a GCC specialist, but according from the link from the user above, i read a friend saying its something related to GCC. So, yes, i suggest you re-check as i said .

    Edit the question with that info and i might be able to help more and so will others.

    @CantFindName

    Name conflicting in Theano

    0 讨论(0)
提交回复
热议问题