Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problems #31

Closed
alexomics opened this issue Jan 15, 2020 · 1 comment
Closed

Installation problems #31

alexomics opened this issue Jan 15, 2020 · 1 comment
Assignees

Comments

@alexomics
Copy link
Contributor

hi,

I am trying to install numpy on window python 3.4.4
but the error occurred, i even reinstall the whole python and assign the path to the administration system . Kindly anyone of you guides me or help me, how to install. If the error is,
error: Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows S
DK 7.1": www.microsoft.com/download/details.aspx?id=8279
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
command: 'c:\python34\python.exe' -u -c 'import sys, setuptools, tokenize; sy
s.argv[0] = '"'"'C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1
\numpy\setup.py'"'"'; file='"'"'C:\Users\an95120\AppData\Local\Temp\p
ip-install-xuqde9e1\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', op
en)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec
(compile(code, file, '"'"'exec'"'"'))' clean --all
cwd: C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy
Complete output (10 lines):
Running from numpy source directory.

setup.py clean is not supported, use one of the following instead:

- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
                    files that aren't checked into the git repo)

Add --force to your command to use it anyway if you must (unsupported).

ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: numpy
Running setup.py install for numpy ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python34\python.exe' -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e
1\numpy\setup.py'"'"'; file='"'"'C:\Users\an95120\AppData\Local\Temp
\pip-install-xuqde9e1\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"',
open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();ex
ec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\an95120
AppData\Local\Temp\pip-record-41uj2idn\install-record.txt' --single-version-exte
rnally-managed --compile
cwd: C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy
Complete output (226 lines):
Running from numpy source directory.

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

  - `pip install .`       (from a git repo or downloaded source
                           release)
  - `pip install numpy`   (last NumPy release on PyPi)


blas_opt_info:
blas_mkl_info:
customize MSVCCompiler
  libraries mkl_rt not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python34\

\libs']
NOT AVAILABLE

blis_info:
customize MSVCCompiler
  libraries blis not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python34\\l

ibs']
NOT AVAILABLE

openblas_info:
customize MSVCCompiler
customize MSVCCompiler
  libraries openblas not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python3

4\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv
', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
don't know how to compile Fortran code on platform 'nt'
NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize MSVCCompiler
  libraries tatlas not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python34\

\libs']
NOT AVAILABLE

atlas_3_10_blas_info:
customize MSVCCompiler
  libraries satlas not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python34\

\libs']
NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in ['c:\\python34\\lib', 'C:\\

', 'c:\python34\libs']
NOT AVAILABLE

atlas_blas_info:
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in ['c:\\python34\\lib', 'C:\\', '

c:\python34\libs']
NOT AVAILABLE

accelerate_info:
  NOT AVAILABLE

C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy\numpy\distuti

ls\system_info.py:639: 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.
self.calc_info()
blas_info:
customize MSVCCompiler
libraries blas not found in ['c:\python34\lib', 'C:', 'c:\python34\l
ibs']
NOT AVAILABLE

C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy\numpy\distuti

ls\system_info.py:639: 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.
self.calc_info()
blas_src_info:
NOT AVAILABLE

C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy\numpy\distuti

ls\system_info.py:639: 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.
self.calc_info()
NOT AVAILABLE

'svnversion' is not recognized as an internal or external command,
operable program or batch file.
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
customize MSVCCompiler
  libraries mkl_rt not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python34\

\libs']
NOT AVAILABLE

openblas_lapack_info:
customize MSVCCompiler
customize MSVCCompiler
  libraries openblas not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python3

4\libs']
NOT AVAILABLE

openblas_clapack_info:
customize MSVCCompiler
customize MSVCCompiler
  libraries openblas,lapack not found in ['c:\\python34\\lib', 'C:\\', 'c:\\

python34\libs']
NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\lib
customize MSVCCompiler
  libraries tatlas,tatlas not found in c:\python34\lib
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\libs
customize MSVCCompiler
  libraries tatlas,tatlas not found in c:\python34\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\lib
customize MSVCCompiler
  libraries satlas,satlas not found in c:\python34\lib
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
customize MSVCCompiler
  libraries satlas,satlas not found in C:\
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\libs
customize MSVCCompiler
  libraries satlas,satlas not found in c:\python34\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\lib
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in c:\python34\lib
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\libs
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in c:\python34\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\lib
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in c:\python34\lib
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\
customize MSVCCompiler
  libraries lapack_atlas not found in c:\python34\libs
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in c:\python34\libs
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

lapack_info:
customize MSVCCompiler
  libraries lapack not found in ['c:\\python34\\lib', 'C:\\', 'c:\\python34\

\libs']
NOT AVAILABLE

C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy\numpy\distuti

ls\system_info.py:639: 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.
self.calc_info()
lapack_src_info:
NOT AVAILABLE

C:\Users\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy\numpy\distuti

ls\system_info.py:639: 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.
self.calc_info()
NOT AVAILABLE

c:\python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution opt

ion: 'define_macros'
warnings.warn(msg)
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
building library "npymath" sources
error: Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows
SDK 7.1": www.microsoft.com/download/details.aspx?id=8279

ERROR: Command errored out with exit status 1: 'c:\python34\python.exe' -u -c 'i
mport sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\an95120\AppData
\Local\Temp\pip-install-xuqde9e1\numpy\setup.py'"'"'; file='"'"'C:\User
s\an95120\AppData\Local\Temp\pip-install-xuqde9e1\numpy\setup.py'"'"';f=g
etattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n
'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' in
stall --record 'C:\Users\an95120\AppData\Local\Temp\pip-record-41uj2idn\install-
record.txt' --single-version-externally-managed --compile Check the logs for ful
l command output.

Hello, I am having the same issue. Did you manage to fix this?

Originally posted by @Cerandior in #27 (comment)

@alexomics
Copy link
Contributor Author

@Cerandior have you tried installing the SDK referenced in the error message? (https://www.microsoft.com/en-us/download/details.aspx?id=8279)

@alexomics alexomics self-assigned this Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant