I'd like to install Numpy and PyDAQmx libraries, which both need to be compiled in C before installing.
I understand that I need the MSVC 2008 C++ compiler installed, which I have installed. I was also under the impression Vizard was built on MSVC2008... but I keep getting the final error: error: Unable to find vcvarsall.bat
Along the way, the installation fails multiple times in pip.log. I've attached a chunk of the log below. I've had to cut out most due to character post restrictions, but I'm happy to send the log if it will help. I have only tried installing numpy. I have tried adding a registry key as per:
here and
here but no luck.
Any suggestions?
Code:
Running setup.py install for numpy
Running command "C:\Program Files\WorldViz\Vizard5\bin\python.exe" -c "import setuptools, tokenize;__file__='c:\\users\\stefan~1\\appdata\\local\\temp\\pip_build_Stefan M\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\stefan~1\appdata\local\temp\pip-o9yxxh-record\install-record.txt --single-version-externally-managed --compile
non-existing path in 'numpy\\distutils': 'site.cfg'
non-existing path in 'numpy\\f2py': 'docs'
non-existing path in 'numpy\\f2py': 'f2py.1'
F2PY Version 2
blas_opt_info:
blas_mkl_info:
...
libraries openblas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
libraries openblas not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
lapack_mkl_info:
mkl_info:
libraries mkl,vml,guide not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib
libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs
libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs
numpy.distutils.system_info.atlas_threads_info
NOT AVAILABLE
atlas_info:
libraries f77blas,cblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib
libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\lib
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs
libraries lapack_atlas not found in C:\Program Files\WorldViz\Vizard5\bin\libs
numpy.distutils.system_info.atlas_info
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Program Files\\WorldViz\\Vizard5\\bin\\lib', 'C:\\', 'C:\\Program Files\\WorldViz\\Vizard5\\bin\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-2.7
creating build\src.win-amd64-2.7\numpy
creating build\src.win-amd64-2.7\numpy\distutils
building library "npymath" sources
No module named msvccompiler in numpy.distutils; trying from distutils
Running from numpy source directory.
c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1526: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1535: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
warnings.warn(BlasNotFoundError.__doc__)
c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1538: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
warnings.warn(BlasSrcNotFoundError.__doc__)
c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1432: UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
warnings.warn(AtlasNotFoundError.__doc__)
c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1443: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
warnings.warn(LapackNotFoundError.__doc__)
c:\users\stefan~1\appdata\local\temp\pip_build_Stefan M\numpy\numpy\distutils\system_info.py:1446: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
warnings.warn(LapackSrcNotFoundError.__doc__)
C:\Program Files\WorldViz\Vizard5\bin\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
error: Unable to find vcvarsall.bat