Python 在Windows 8.1的天篷中安装用于GPU 750m的Theano时出错

Python 在Windows 8.1的天篷中安装用于GPU 750m的Theano时出错,python,windows,cuda,canopy,theano,Python,Windows,Cuda,Canopy,Theano,我使用的是64位Windows 8.1。我已经安装了带有学术许可证的天篷。我的笔记本电脑有Nvidia GeForce GT750m 我使用Theano的git存储库中的python setup.py develope安装了Theano。我已安装Visual Studio 2013和Cuda Toolkit 64位。Cuda样品工作正常 NOARC文件: [global] device = gpu floatX = float32 [nvcc] compiler_bindir=C:\Progr

我使用的是64位Windows 8.1。我已经安装了带有学术许可证的天篷。我的笔记本电脑有Nvidia GeForce GT750m

我使用Theano的git存储库中的
python setup.py develope
安装了Theano。我已安装Visual Studio 2013和Cuda Toolkit 64位。Cuda样品工作正常

NOARC文件:

[global]
device = gpu
floatX = float32

[nvcc]
compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
在执行
import theano

c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-x86_64\include\pymath.h(22): warning: dllexport/dllimport conflict with "round"

c:\program files\nvidia gpu computing toolkit\cuda\v6.5\include\math_functions.h(2455): here; dllimport/dllexport dropped



mod.cu(672): warning: conversion from pointer to smaller integer



mod.cu(954): warning: statement is unreachable



mod.cu(1114): error: namespace "std" has no member "min"



mod.cu(1145): error: namespace "std" has no member "min"



mod.cu(1173): error: namespace "std" has no member "min"



mod.cu(1174): error: namespace "std" has no member "min"



mod.cu(1317): error: namespace "std" has no member "min"



mod.cu(1318): error: namespace "std" has no member "min"



mod.cu(1442): error: namespace "std" has no member "min"



mod.cu(1443): error: namespace "std" has no member "min"



mod.cu(1742): error: namespace "std" has no member "min"



mod.cu(1777): error: namespace "std" has no member "min"



mod.cu(1781): error: namespace "std" has no member "min"



mod.cu(1814): error: namespace "std" has no member "min"



mod.cu(1821): error: namespace "std" has no member "min"



mod.cu(1853): error: namespace "std" has no member "min"



mod.cu(1861): error: namespace "std" has no member "min"



mod.cu(1898): error: namespace "std" has no member "min"



mod.cu(1905): error: namespace "std" has no member "min"



mod.cu(1946): error: namespace "std" has no member "min"



mod.cu(1960): error: namespace "std" has no member "min"



mod.cu(2684): warning: conversion from pointer to smaller integer



mod.cu(3750): error: namespace "std" has no member "min"



mod.cu(3752): error: namespace "std" has no member "min"



mod.cu(3784): error: namespace "std" has no member "min"



mod.cu(3786): error: namespace "std" has no member "min"



mod.cu(3789): error: namespace "std" has no member "min"



mod.cu(3791): error: namespace "std" has no member "min"



mod.cu(3794): error: namespace "std" has no member "min"



mod.cu(3795): error: namespace "std" has no member "min"



mod.cu(3836): error: namespace "std" has no member "min"



mod.cu(3838): error: namespace "std" has no member "min"



mod.cu(4602): error: namespace "std" has no member "min"



mod.cu(4604): error: namespace "std" has no member "min"



31 errors detected in the compilation of "C:/Users/Harsh/AppData/Local/Temp/tmpxft_00001e58_00000000-10_mod.cpp1.ii".

mod.cu


['nvcc', '-shared', '-g', '-O3', '--compiler-bindir', 'C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin', '-Xlinker', '/DEBUG', '-m64', '-Xcompiler', '-DCUDA_NDARRAY_CUH=d67f7c8a21306c67152a70a88a837011,/Zi,/MD', '-IC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\theano\\sandbox\\cuda', '-IC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\numpy\\core\\include', '-IC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\\canopy-1.4.1.1975.win-x86_64\\include', '-o', 'C:\\Users\\Harsh\\AppData\\Local\\Theano\\compiledir_Windows-8-6.2.9200-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.6-64\\cuda_ndarray\\cuda_ndarray.pyd', 'mod.cu', '-LC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\User\\libs', '-LC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\\canopy-1.4.1.1975.win-x86_64\\libs', '-LNone\\lib', '-LNone\\lib64', '-LC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\\canopy-1.4.1.1975.win-x86_64', '-lpython27', '-lcublas', '-lcudart']
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: ('nvcc return status', 2, 'for cmd', 'nvcc -shared -g -O3 --compiler-bindir C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin -Xlinker /DEBUG -m64 -Xcompiler -DCUDA_NDARRAY_CUH=d67f7c8a21306c67152a70a88a837011,/Zi,/MD -IC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\theano\\sandbox\\cuda -IC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\numpy\\core\\include -IC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\\canopy-1.4.1.1975.win-x86_64\\include -o C:\\Users\\Harsh\\AppData\\Local\\Theano\\compiledir_Windows-8-6.2.9200-Intel64_Family_6_Model_58_Stepping_9_GenuineIntel-2.7.6-64\\cuda_ndarray\\cuda_ndarray.pyd mod.cu -LC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\User\\libs -LC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\\canopy-1.4.1.1975.win-x86_64\\libs -LNone\\lib -LNone\\lib64 -LC:\\Users\\Harsh\\AppData\\Local\\Enthought\\Canopy\\App\\appdata\\canopy-1.4.1.1975.win-x86_64 -lpython27 -lcublas -lcudart')
WARNING (theano.sandbox.cuda): CUDA is installed, but device gpu is not available 
VisualStudio命令提示符显示错误:

C:\Program Files (x86)\Microsoft Visual Studio 12.0>cd C:\Users\Harsh\Downloads\
pycuda-2012.1

C:\Users\Harsh\Downloads\pycuda-2012.1>set VS90COMNTOOLS=%VS100COMNTOOLS%

C:\Users\Harsh\Downloads\pycuda-2012.1>python setup.py build
running build
running build_py
running build_ext
building '_driver' extension
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/cpp/cuda.cpp /Fobuild\temp.win-amd64-2.7\Release\src/cpp/cuda.obj
cuda.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-
x86_64\include\pymath.h(22) : warning C4273: 'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(51
6) : see previous definition of 'round'
c:\users\harsh\downloads\pycuda-2012.1\src\cpp\cuda.hpp(1786) : warning C4146: u
nary minus operator applied to unsigned type, result still unsigned
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/cpp/bitlog.cpp /Fobuild\temp.win-amd64-2.7\Release\src/cpp/bitlog.obj
bitlog.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/wrapper/wrap_cudadrv.cpp /Fobuild\temp.win-amd64-2.7\Release\src/wrapper/
wrap_cudadrv.obj
wrap_cudadrv.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-
x86_64\include\pymath.h(22) : warning C4273: 'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(51
6) : see previous definition of 'round'
src/cpp\cuda.hpp(1786) : warning C4146: unary minus operator applied to unsigned
 type, result still unsigned
c:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\
include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy
 API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/wrapper/mempool.cpp /Fobuild\temp.win-amd64-2.7\Release\src/wrapper/mempo
ol.obj
mempool.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-
x86_64\include\pymath.h(22) : warning C4273: 'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(51
6) : see previous definition of 'round'
src/cpp\cuda.hpp(1786) : warning C4146: unary minus operator applied to unsigned
 type, result still unsigned
c:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\
include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy
 API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
c:\users\harsh\downloads\pycuda-2012.1\src\wrapper\mempool.cpp(256) : fatal erro
r C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 228)
 To work around this problem, try simplifying or changing the program near the l
ocations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\
VC\BIN\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.e
xe"' failed with exit status 1

C:\Users\Harsh\Downloads\pycuda-2012.1>python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to pycuda.egg-info\requires.txt
writing pycuda.egg-info\PKG-INFO
writing top-level names to pycuda.egg-info\top_level.txt
writing dependency_links to pycuda.egg-info\dependency_links.txt
reading manifest file 'pycuda.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.cpp' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset
\boost'
warning: no files found matching '*.inl' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\li
bs'
warning: no files found matching '*.hpp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.ipp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\l
ibs'
writing manifest file 'pycuda.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
building '_driver' extension
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/cpp/cuda.cpp /Fobuild\temp.win-amd64-2.7\Release\src/cpp/cuda.obj
cuda.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-
x86_64\include\pymath.h(22) : warning C4273: 'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(51
6) : see previous definition of 'round'
c:\users\harsh\downloads\pycuda-2012.1\src\cpp\cuda.hpp(1786) : warning C4146: u
nary minus operator applied to unsigned type, result still unsigned
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/cpp/bitlog.cpp /Fobuild\temp.win-amd64-2.7\Release\src/cpp/bitlog.obj
bitlog.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/wrapper/wrap_cudadrv.cpp /Fobuild\temp.win-amd64-2.7\Release\src/wrapper/
wrap_cudadrv.obj
wrap_cudadrv.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-
x86_64\include\pymath.h(22) : warning C4273: 'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(51
6) : see previous definition of 'round'
src/cpp\cuda.hpp(1786) : warning C4146: unary minus operator applied to unsigned
 type, result still unsigned
c:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\
include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy
 API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe /c /nologo /Ox
 /MD /W3 /GS- /DNDEBUG -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOU
RCE=1 -DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_THREA
D_BUILD_DLL=1 -Dboost=pycudaboost -DBOOST_ALL_NO_LIB=1 -Isrc/cpp -Ibpl-subset/bp
l_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -Ic
:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\i
nclude -IC:\Users\Harsh\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.
1975.win-x86_64\include -Ic:\users\harsh\appdata\local\enthought\canopy\user\PC
/Tpsrc/wrapper/mempool.cpp /Fobuild\temp.win-amd64-2.7\Release\src/wrapper/mempo
ol.obj
mempool.cpp
Unknown compiler version - please run the configure tests and report the results

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xlocale(337) : wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled. S
pecify /EHsc
c:\users\harsh\appdata\local\enthought\canopy\app\appdata\canopy-1.4.1.1975.win-
x86_64\include\pymath.h(22) : warning C4273: 'round' : inconsistent dll linkage
        C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(51
6) : see previous definition of 'round'
src/cpp\cuda.hpp(1786) : warning C4146: unary minus operator applied to unsigned
 type, result still unsigned
c:\users\harsh\appdata\local\enthought\canopy\user\lib\site-packages\numpy\core\
include\numpy\npy_1_7_deprecated_api.h(12) : Warning Msg: Using deprecated NumPy
 API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
c:\users\harsh\downloads\pycuda-2012.1\src\wrapper\mempool.cpp(256) : fatal erro
r C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 228)
 To work around this problem, try simplifying or changing the program near the l
ocations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\
VC\BIN\cl.exe'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
error: command '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.e
xe"' failed with exit status 1
'C:\Program Files(x86)\Microsoft Visual Studio 12.0中的内部编译器错误\ VC\BIN\cl.exe“在最后一行

我跟着


但是,Python distutils fix无法应用,因为我已经使用了Canopy。请提供帮助。

Theano不支持Visual Studio编译器。cuda需要它,但没有CPU代码。这需要g++编译器


编译器的canopy包是否已正确安装?您是如何尝试使用microsoft编译器进行编译的?

不支持Visual Studio编译器。cuda需要它,但没有CPU代码。这需要g++编译器


编译器的canopy包是否已正确安装?您是如何尝试使用microsoft编译器进行编译的?

不支持Visual Studio编译器。cuda需要它,但没有CPU代码。这需要g++编译器


编译器的canopy包是否已正确安装?您是如何尝试使用microsoft编译器进行编译的?

不支持Visual Studio编译器。cuda需要它,但没有CPU代码。这需要g++编译器


编译器的canopy包是否已正确安装?你尝试用微软编译器编译?< /P> < P> Windows CULL,就像所有标准的CPython 2.7的Windows发行版,都是用Visual C++ 2008编译的,编译器应该编译它的所有非平凡C扩展。 以下文章包括获取此编译器的一些链接:

< P> Windows冠,像Windows的所有标准CPython 2.7分布,都是用Visual C++ 2008编译的,编译器应该编译它的所有非平凡C扩展。 以下文章包括获取此编译器的一些链接:

< P> Windows冠,像Windows的所有标准CPython 2.7分布,都是用Visual C++ 2008编译的,编译器应该编译它的所有非平凡C扩展。 以下文章包括获取此编译器的一些链接:

< P> Windows冠,像Windows的所有标准CPython 2.7分布,都是用Visual C++ 2008编译的,编译器应该编译它的所有非平凡C扩展。 以下文章包括获取此编译器的一些链接: