Hi, I am also trying to get theano to work with PyCharm. I switched from 3.5 to 
3.4 and have tried some of the things above but none seem to be working. I'm 
running into 2 errors:

nvcc : fatal error : Wrong syntax in file C:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v5.5\bin/nvcc.profile: "2010"
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc return 
status', 4294967295, 'for cmd', 'nvcc -shared -O3 -Xlinker /DEBUG -D HAVE_ROUND 
-m64 -Xcompiler 
-DCUDA_NDARRAY_CUH=mc72d035fdf91890f3b36710688069b2e,-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION,/Zi,/MD
 
-I"C:\Lasagne\WinPython\python-3.4.4.amd64\lib\site-packages\theano\sandbox\cuda"
 
-I"C:\Lasagne\WinPython\python-3.4.4.amd64\lib\site-packages\numpy\core\include"
 -I"C:\Lasagne\WinPython\python-3.4.4.amd64\include" 
-I"C:\Lasagne\WinPython\python-3.4.4.amd64\lib\site-packages\theano\gof" 
-L"C:\Lasagne\WinPython\python-3.4.4.amd64\libs" 
-L"C:\Lasagne\WinPython\python-3.4.4.amd64" -o 
C:\Users\Anon\AppData\Local\Theano\compiledir_Windows-7-6.1.7601-SP1-Intel64_Family_6_Model_42_Stepping_7_GenuineIntel-3.4.4-64\cuda_ndarray\cuda_ndarray.pyd
 mod.cu -lcublas -lpython34 -lcudart')

Interestingly this error showed up in Spyder and Pycharm but after adding this:

compiler-bindir = C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin

which I found in another thread, CUDA worked in Spyder but stayed broken in 
Pycharm.

And the second is that it is not recognizing the .theanorc file which I figured 
out trying to install it before and getting help with the author of the link 
below. I made that file and theano works with Spyder and the installation 
instructions found here:

https://github.com/Lasagne/Lasagne/wiki/From-Zero-to-Lasagne-on-Windows-7-(64-bit)

I really prefer PyCharm but don't know where to put the settings or how to make 
it find .theanorc

Does anybody have any ideas please?

You got farther than I did cause mine won't work when it tries functions that 
use cuda.

Thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to theano-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to