简体   繁体   中英

Python stops working while importing Theano

I'm trying to use Theano and when I import it, i get a pop up saying python.exe has stopped working. What's the problem?This is my .theanorc file

[global]
floatX = float32
device = cuda0
mode=FAST_RUN

[cuda]
root = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin


[nvcc]
fastmath = True

[dnn]

include_path = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include
library_path = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64

put your code in try except then check the exception please.

try:

....

except Exception as ex:

print("Error: "+str(ex))

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