Installing numpy on windows 8.1 with python 3.5 -


i have used numpy , installed pip quite in past. never experienced trouble.

however seem unable install numpy. first claimed didn't have visual studio runtime - went ahead , downloaded current visual studio community edition.

however gave again similar problem, after long error ends with:

error: unable find vcvarsall.bat

testing python version information results

3.5.0 (v3.5.0:374f501f4567, sep 13 2015, 02:16:59) [msc v.1900 32 bit (intel)]

[edit: new version test]:

3.5.0 (v3.5.0:374f501f4567, sep 13 2015, 02:27:37) [msc v.1900 64 bit (amd64)]

my computer runs near clean version of windows 8.1 (64 bit). (about week old)

i downloaded "just" community 2015 version of visual studio (how test/get correct c compiler microsoft?) - problem?

full log:

    complete output command c:\users\paul\appdata\local\programs\python\pyt hon35-32\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\paul\\a ppdata\\local\\temp\\pip-build-ykwi9pgy\\numpy\\setup.py';exec(compile(getattr(t okenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec') )" install --record c:\users\paul\appdata\local\temp\pip-jnstzkd1-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 mkl,vml,guide not found in ['c:\\users\\paul\\appdata\\local\\pr ograms\\python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\pro grams\\python\\python35-32\\libs']       not available      openblas_info:       libraries openblas not found in ['c:\\users\\paul\\appdata\\local\\program s\\python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\programs \\python\\python35-32\\libs']       not available      atlas_3_10_blas_threads_info:     setting ptatlas=atlas       libraries tatlas not found in ['c:\\users\\paul\\appdata\\local\\programs\ \python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\programs\\ python\\python35-32\\libs']       not available      atlas_3_10_blas_info:       libraries satlas not found in ['c:\\users\\paul\\appdata\\local\\programs\ \python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\programs\\ python\\python35-32\\libs']       not available      atlas_blas_threads_info:     setting ptatlas=atlas       libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\paul\\appdata\ \local\\programs\\python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\ local\\programs\\python\\python35-32\\libs']       not available      atlas_blas_info:       libraries f77blas,cblas,atlas not found in ['c:\\users\\paul\\appdata\\loc al\\programs\\python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\loca l\\programs\\python\\python35-32\\libs']       not available      blas_info:       libraries blas not found in ['c:\\users\\paul\\appdata\\local\\programs\\p ython\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\programs\\py thon\\python35-32\\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:\\users\\paul\\appdata\\local\\program s\\python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\programs \\python\\python35-32\\libs']       not available      lapack_mkl_info:     mkl_info:       libraries mkl,vml,guide not found in ['c:\\users\\paul\\appdata\\local\\pr ograms\\python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\pro grams\\python\\python35-32\\libs']       not available        not available      atlas_3_10_threads_info:     setting ptatlas=atlas       libraries tatlas,tatlas not found in c:\users\paul\appdata\local\programs\ python\python35-32\lib       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\lib       libraries tatlas,tatlas not found in c:\       libraries lapack_atlas not found in c:\       libraries tatlas,tatlas not found in c:\users\paul\appdata\local\programs\ python\python35-32\libs       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\libs     <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>       not available      atlas_3_10_info:       libraries satlas,satlas not found in c:\users\paul\appdata\local\programs\ python\python35-32\lib       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\lib       libraries satlas,satlas not found in c:\       libraries lapack_atlas not found in c:\       libraries satlas,satlas not found in c:\users\paul\appdata\local\programs\ python\python35-32\libs       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\libs     <class 'numpy.distutils.system_info.atlas_3_10_info'>       not available      atlas_threads_info:     setting ptatlas=atlas       libraries ptf77blas,ptcblas,atlas not found in c:\users\paul\appdata\local \programs\python\python35-32\lib       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\lib       libraries ptf77blas,ptcblas,atlas not found in c:\       libraries lapack_atlas not found in c:\       libraries ptf77blas,ptcblas,atlas not found in c:\users\paul\appdata\local \programs\python\python35-32\libs       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\libs     <class 'numpy.distutils.system_info.atlas_threads_info'>       not available      atlas_info:       libraries f77blas,cblas,atlas not found in c:\users\paul\appdata\local\pro grams\python\python35-32\lib       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\lib       libraries f77blas,cblas,atlas not found in c:\       libraries lapack_atlas not found in c:\       libraries f77blas,cblas,atlas not found in c:\users\paul\appdata\local\pro grams\python\python35-32\libs       libraries lapack_atlas not found in c:\users\paul\appdata\local\programs\p ython\python35-32\libs     <class 'numpy.distutils.system_info.atlas_info'>       not available      lapack_info:       libraries lapack not found in ['c:\\users\\paul\\appdata\\local\\programs\ \python\\python35-32\\lib', 'c:\\', 'c:\\users\\paul\\appdata\\local\\programs\\ python\\python35-32\\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.win32-3.5     creating build\src.win32-3.5\numpy     creating build\src.win32-3.5\numpy\distutils     building library "npymath" sources     no module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying f rom distutils     running numpy source directory.     c:\users\paul\appdata\local\temp\pip-build-ykwi9pgy\numpy\numpy\distutils\sy stem_info.py:1603: userwarning:         atlas (http://math-atlas.sourceforge.net/) libraries not found.         directories search libraries can specified in         numpy/distutils/site.cfg file (section [atlas]) or setting         atlas environment variable.       warnings.warn(atlasnotfounderror.__doc__)     c:\users\paul\appdata\local\temp\pip-build-ykwi9pgy\numpy\numpy\distutils\sy stem_info.py:1612: userwarning:         blas (http://www.netlib.org/blas/) libraries not found.         directories search libraries can specified in         numpy/distutils/site.cfg file (section [blas]) or setting         blas environment variable.       warnings.warn(blasnotfounderror.__doc__)     c:\users\paul\appdata\local\temp\pip-build-ykwi9pgy\numpy\numpy\distutils\sy stem_info.py:1615: userwarning:         blas (http://www.netlib.org/blas/) sources not found.         directories search sources can specified in         numpy/distutils/site.cfg file (section [blas_src]) or setting         blas_src environment variable.       warnings.warn(blassrcnotfounderror.__doc__)     c:\users\paul\appdata\local\temp\pip-build-ykwi9pgy\numpy\numpy\distutils\sy stem_info.py:1505: userwarning:         atlas (http://math-atlas.sourceforge.net/) libraries not found.         directories search libraries can specified in         numpy/distutils/site.cfg file (section [atlas]) or setting         atlas environment variable.       warnings.warn(atlasnotfounderror.__doc__)     c:\users\paul\appdata\local\temp\pip-build-ykwi9pgy\numpy\numpy\distutils\sy stem_info.py:1516: userwarning:         lapack (http://www.netlib.org/lapack/) libraries not found.         directories search libraries can specified in         numpy/distutils/site.cfg file (section [lapack]) or setting         lapack environment variable.       warnings.warn(lapacknotfounderror.__doc__)     c:\users\paul\appdata\local\temp\pip-build-ykwi9pgy\numpy\numpy\distutils\sy stem_info.py:1519: userwarning:         lapack (http://www.netlib.org/lapack/) sources not found.         directories search sources can specified in         numpy/distutils/site.cfg file (section [lapack_src]) or setting         lapack_src environment variable.       warnings.warn(lapacksrcnotfounderror.__doc__)     c:\users\paul\appdata\local\programs\python\python35-32\lib\distutils\dist.p y:261: userwarning: unknown distribution option: 'define_macros'       warnings.warn(msg)     error: unable find vcvarsall.bat      ---------------------------------------- command "c:\users\paul\appdata\local\programs\python\python35-32\python.exe -c " import setuptools, tokenize;__file__='c:\\users\\paul\\appdata\\local\\temp\\pip -build-ykwi9pgy\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open)(_ _file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\u sers\paul\appdata\local\temp\pip-jnstzkd1-record\install-record.txt --single-ver sion-externally-managed --compile" failed error code 1 in c:\users\paul\app data\local\temp\pip-build-ykwi9pgy\numpy 

i see many (years old) posts problem typically talked setuptools or python 2.x. , link older versions of visual studio - i'd not install multiple versions of studio unless it's necessity.

and community edition installs msc 1900 right? - can test that?

edit: tested 64 bit version of python (why default 32bit?). - "same" error.

as per answer, c++ common tools feature has selected when installing in visual studio.

vs2015 setup

if visual studio installed, can add reconfiguring (no need reinstall everything).


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -