张鲁宁
2017-03-28 04:42:43 UTC
Hello!
Excuse me,I have met an error when i was installing the pycuda , i tried many times but it didnt work,i already have compiled boost(by visual studio 2010), and installed the cuda 8.0 .Here is the error traceback and my siteconf.py.
C:\Users\Administrator\Desktop\work\pycuda-master>python setup.py install
---------------------------------------------------------------------------
The shipped Boost library was not found, but USE_SHIPPED_BOOST is True.
(The files should be under bpl-subset/bpl_subset/.)
---------------------------------------------------------------------------
If you got this package from git, you probably want to do
$ git submodule update --init
to fetch what you are presently missing. If you got this from
a distributed package on the net, that package is broken and
should be fixed. For now, I will turn off 'USE_SHIPPED_BOOST'
to try and see if the build succeeds that way, but in the long
run you might want to either get the missing bits or turn
'USE_SHIPPED_BOOST' off.
---------------------------------------------------------------------------
Continuing in 1 seconds...
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
package init file 'pycuda\compyte\__init__.py' not found (or not a regular file)
reading manifest file 'pycuda.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'doc\source\_static\*.css'
warning: no files found matching 'doc\source\_templates\*.html'
warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\bo
ost'
warning: no files found matching '*.hpp' under directory 'bpl-subset\bpl_subset\
boost'
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 '*.ipp' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\b
oost'
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 '*.cpp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset
\libs'
warning: no files found matching '*.inl' 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'
warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\
libs'
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:\ProgramData\Anaconda2\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -DPYGPU_PYCUD
A=1 -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -Isrc/cpp -IE:\boost_1_63_0 "-IC:\Pro
gram Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -IC:\ProgramData\Anac
onda2\lib\site-packages\numpy\core\include -IC:\ProgramData\Anaconda2\include -I
C:\ProgramData\Anaconda2\PC -c src/cpp/cuda.cpp -o build\temp.win-amd64-2.7\Rele
ase\src\cpp\cuda.o /EHsc
gcc.exe: error: /EHsc: No such file or directory
error: command 'C:\\ProgramData\\Anaconda2\\Scripts\\gcc.bat' failed with exit s
tatus 1
BOOST_INC_DIR = [r'E:\boost_1_63_0']
BOOST_LIB_DIR = [r'E:\boost_1_63_0\stage\lib']
BOOST_COMPILER = 'msvc'
BOOST_PYTHON_LIBNAME = ['libboost_python-vc100-mt-1_63']
BOOST_THREAD_LIBNAME = ['libboost_thread-vc100-mt-1_63']
CUDA_TRACE = False
CUDA_ENABLE_GL = False
CUDADRV_LIB_DIR = ['C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['/EHsc']
LDFLAGS = ['/FORCE']
Could you offer me some help? I am a rookie in this area, Thank you advanceð.
Excuse me,I have met an error when i was installing the pycuda , i tried many times but it didnt work,i already have compiled boost(by visual studio 2010), and installed the cuda 8.0 .Here is the error traceback and my siteconf.py.
C:\Users\Administrator\Desktop\work\pycuda-master>python setup.py install
---------------------------------------------------------------------------
The shipped Boost library was not found, but USE_SHIPPED_BOOST is True.
(The files should be under bpl-subset/bpl_subset/.)
---------------------------------------------------------------------------
If you got this package from git, you probably want to do
$ git submodule update --init
to fetch what you are presently missing. If you got this from
a distributed package on the net, that package is broken and
should be fixed. For now, I will turn off 'USE_SHIPPED_BOOST'
to try and see if the build succeeds that way, but in the long
run you might want to either get the missing bits or turn
'USE_SHIPPED_BOOST' off.
---------------------------------------------------------------------------
Continuing in 1 seconds...
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
package init file 'pycuda\compyte\__init__.py' not found (or not a regular file)
reading manifest file 'pycuda.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'doc\source\_static\*.css'
warning: no files found matching 'doc\source\_templates\*.html'
warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\bo
ost'
warning: no files found matching '*.hpp' under directory 'bpl-subset\bpl_subset\
boost'
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 '*.ipp' under directory 'bpl-subset\bpl_subset\
boost'
warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\b
oost'
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 '*.cpp' under directory 'bpl-subset\bpl_subset\
libs'
warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset
\libs'
warning: no files found matching '*.inl' 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'
warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\
libs'
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:\ProgramData\Anaconda2\Scripts\gcc.bat -DMS_WIN64 -mdll -O -Wall -DPYGPU_PYCUD
A=1 -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -Isrc/cpp -IE:\boost_1_63_0 "-IC:\Pro
gram Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -IC:\ProgramData\Anac
onda2\lib\site-packages\numpy\core\include -IC:\ProgramData\Anaconda2\include -I
C:\ProgramData\Anaconda2\PC -c src/cpp/cuda.cpp -o build\temp.win-amd64-2.7\Rele
ase\src\cpp\cuda.o /EHsc
gcc.exe: error: /EHsc: No such file or directory
error: command 'C:\\ProgramData\\Anaconda2\\Scripts\\gcc.bat' failed with exit s
tatus 1
BOOST_INC_DIR = [r'E:\boost_1_63_0']
BOOST_LIB_DIR = [r'E:\boost_1_63_0\stage\lib']
BOOST_COMPILER = 'msvc'
BOOST_PYTHON_LIBNAME = ['libboost_python-vc100-mt-1_63']
BOOST_THREAD_LIBNAME = ['libboost_thread-vc100-mt-1_63']
CUDA_TRACE = False
CUDA_ENABLE_GL = False
CUDADRV_LIB_DIR = ['C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['/EHsc']
LDFLAGS = ['/FORCE']
Could you offer me some help? I am a rookie in this area, Thank you advanceð.