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 trouble on Windows #141

Closed
markmbaum opened this issue May 6, 2018 · 5 comments
Closed

Installation trouble on Windows #141

markmbaum opened this issue May 6, 2018 · 5 comments

Comments

@markmbaum
Copy link

I'm trying to install pyshtools through pip for Python 3.6.4 but I'm running into a problem that I don't know how to solve. Below is the output after "pip install -V pyshtools" (very long, sorry). Any suggestions would be very much appreciated.

Collecting pyshtools
Using cached https://files.pythonhosted.org/packages/71/d8/91b5b0914c6c68ed52a06f843442f8b5ef05467e27287bd6ec41e2fa5933/pyshtools-4.1.2.tar.gz
Requirement already satisfied: numpy>=1.14.1 in c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages (from pyshtools) (1.14.1)
Installing collected packages: pyshtools
Running setup.py install for pyshtools: started
Running setup.py install for pyshtools: finished with status 'error'
Complete output from command c:\users\mab0328\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\mab0328\AppData\Local\Temp\pip-install-9fycvvf0\pyshtools\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\mab0328\AppData\Local\Temp\pip-record-phy1cfc5\install-record.txt --single-version-externally-managed --compile:
pandoc is not installed. PYPI description will not be formatted correctly.
INSTALLING SHTOOLS 4.1.2
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
Found executable C:\Program Files\Git\usr\bin\DF.exe
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Found executable C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
searching SHTOOLS in: build\temp.win32-3.6
fftw_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries fftw3 not found in ['c:\users\mab0328\appdata\local\programs\python\python36-32\lib', 'C:\', 'c:\users\mab0328\appdata\local\programs\python\python36-32\libs']
fftw3 not found
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries rfftw,fftw not found in ['c:\users\mab0328\appdata\local\programs\python\python36-32\lib', 'C:\', 'c:\users\mab0328\appdata\local\programs\python\python36-32\libs']
fftw2 not found
NOT AVAILABLE

lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries mkl_rt not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

openblas_lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
  NOT AVAILABLE

openblas_clapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas,lapack not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas,tatlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas,satlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack_atlas not found in c:\users\mab0328\appdata\local\programs\python\python36-32\libs
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\system_info.py:624: 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()
lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries lapack not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\system_info.py:624: 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\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\system_info.py:624: 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

blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries mkl_rt not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries blis not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

openblas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries openblas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries tatlas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

atlas_3_10_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries satlas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries f77blas,cblas,atlas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
  libraries blas not found in ['c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\lib', 'C:\\', 'c:\\users\\mab0328\\appdata\\local\\programs\\python\\python36-32\\libs']
  NOT AVAILABLE

c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\system_info.py:624: 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\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\system_info.py:624: 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

non-existing path in '': 'build\\temp.win32-3.6'
non-existing path in '': 'build\\temp.win32-3.6'
non-existing path in '': 'build\\temp.win32-3.6'
non-existing path in '': 'build\\temp.win32-3.6'
running install
---- CUSTOM INSTALL ----
running build
---- BUILDING ----
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 library "SHTOOLS" sources
building extension "pyshtools._SHTOOLS" sources
f2py options: ['--quiet', '--quiet']
  adding 'build\src.win32-3.6\build\src.win32-3.6\src\fortranobject.c' to sources.
  adding 'build\src.win32-3.6\build\src.win32-3.6\src' to include_dirs.
  adding 'build\src.win32-3.6\src\_SHTOOLS-f2pywrappers.f' to sources.
building extension "pyshtools._constant" sources
f2py options: ['--quiet', '--quiet']
  adding 'build\src.win32-3.6\build\src.win32-3.6\pyshtools\fortranobject.c' to sources.
  adding 'build\src.win32-3.6\build\src.win32-3.6\pyshtools' to include_dirs.
  adding 'build\src.win32-3.6\pyshtools\_constant-f2pywrappers2.f90' to sources.
build_src: building npy-pkg config files
running build_py
creating build\lib.win32-3.6
creating build\lib.win32-3.6\pyshtools
copying pyshtools\make_docs.py -> build\lib.win32-3.6\pyshtools
copying pyshtools\__init__.py -> build\lib.win32-3.6\pyshtools
creating build\lib.win32-3.6\pyshtools\constant
copying pyshtools\constant\__init__.py -> build\lib.win32-3.6\pyshtools\constant
creating build\lib.win32-3.6\pyshtools\expand
copying pyshtools\expand\__init__.py -> build\lib.win32-3.6\pyshtools\expand
creating build\lib.win32-3.6\pyshtools\gravmag
copying pyshtools\gravmag\__init__.py -> build\lib.win32-3.6\pyshtools\gravmag
creating build\lib.win32-3.6\pyshtools\legendre
copying pyshtools\legendre\plm_index.py -> build\lib.win32-3.6\pyshtools\legendre
copying pyshtools\legendre\__init__.py -> build\lib.win32-3.6\pyshtools\legendre
creating build\lib.win32-3.6\pyshtools\rotate
copying pyshtools\rotate\__init__.py -> build\lib.win32-3.6\pyshtools\rotate
creating build\lib.win32-3.6\pyshtools\shclasses
copying pyshtools\shclasses\shcoeffsgrid.py -> build\lib.win32-3.6\pyshtools\shclasses
copying pyshtools\shclasses\shwindow.py -> build\lib.win32-3.6\pyshtools\shclasses
copying pyshtools\shclasses\__init__.py -> build\lib.win32-3.6\pyshtools\shclasses
creating build\lib.win32-3.6\pyshtools\shio
copying pyshtools\shio\icgem.py -> build\lib.win32-3.6\pyshtools\shio
copying pyshtools\shio\yilm_index_vector.py -> build\lib.win32-3.6\pyshtools\shio
copying pyshtools\shio\__init__.py -> build\lib.win32-3.6\pyshtools\shio
creating build\lib.win32-3.6\pyshtools\shtools
copying pyshtools\shtools\__init__.py -> build\lib.win32-3.6\pyshtools\shtools
creating build\lib.win32-3.6\pyshtools\spectralanalysis
copying pyshtools\spectralanalysis\cross_spectrum.py -> build\lib.win32-3.6\pyshtools\spectralanalysis
copying pyshtools\spectralanalysis\spectrum.py -> build\lib.win32-3.6\pyshtools\spectralanalysis
copying pyshtools\spectralanalysis\__init__.py -> build\lib.win32-3.6\pyshtools\spectralanalysis
creating build\lib.win32-3.6\pyshtools\utils
copying pyshtools\utils\datetime.py -> build\lib.win32-3.6\pyshtools\utils
copying pyshtools\utils\__init__.py -> build\lib.win32-3.6\pyshtools\utils
running build_clib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_clib
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_clib
building 'SHTOOLS' library
creating build\temp.win32-3.6
compiling Fortran 90 module sources
Fortran f77 compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -ffixed-form -fno-second-underscore -O3 -funroll-loops
Fortran f90 compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -fno-second-underscore -O3 -funroll-loops
Fortran fix compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -O3 -funroll-loops
creating build\temp.win32-3.6\src
compile options: '-Ic:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\core\include -c'
extra options: '-Jbuild\temp.win32-3.6 -Ibuild\temp.win32-3.6'
gfortran.exe:f90: src\FFTW3.f95
gfortran.exe:f90: src\SHTOOLS.f95
compiling Fortran sources
Fortran f77 compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -ffixed-form -fno-second-underscore -O3 -funroll-loops
Fortran f90 compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -fno-second-underscore -O3 -funroll-loops
Fortran fix compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -O3 -funroll-loops
compile options: '-Ic:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\core\include -c'
extra options: '-Jbuild\temp.win32-3.6 -Ibuild\temp.win32-3.6'
gfortran.exe:f90: src\BAtoHilm.f95
gfortran.exe:f90: src\BAtoHilmRhoH.f95
gfortran.exe:f90: src\CilmMinus.f95
gfortran.exe:f90: src\CilmMinusRhoH.f95
gfortran.exe:f90: src\CilmPlus.f95
gfortran.exe:f90: src\CilmPlusRhoH.f95
gfortran.exe:f90: src\ComputeDG82.f95
gfortran.exe:f90: src\ComputeDm.f95
gfortran.exe:f90: src\ComputeDMap.f95
gfortran.exe:f90: src\Curve2Mask.f95
gfortran.exe:f90: src\DHaj.f95
gfortran.exe:f90: src\djpi2.f95
gfortran.exe:f90: src\DownContFilter.f95
gfortran.exe:f90: src\EigValSym.F95
gfortran.exe:f90: src\EigValVecSym.F95
gfortran.exe:f90: src\EigValVecSymTri.F95
gfortran.exe:f90: src\GLQGridCoord.f95
gfortran.exe:f90: src\MakeCircleCoord.f95
gfortran.exe:f90: src\MakeEllipseCoord.f95
gfortran.exe:f90: src\MakeGeoidGrid.f95
gfortran.exe:f90: src\MakeGravGradGridDH.F95
gfortran.exe:f90: src\MakeGravGridDH.F95
gfortran.exe:f90: src\MakeGrid2D.f95
gfortran.exe:f90: src\MakeGridDH.F95
gfortran.exe:f90: src\MakeGridDHC.F95
gfortran.exe:f90: src\MakeGridGLQ.F95
gfortran.exe:f90: src\MakeGridGLQC.F95
gfortran.exe:f90: src\MakeGridPoint.f95
gfortran.exe:f90: src\MakeGridPointC.f95
gfortran.exe:f90: src\MakeMagGridDH.F95
gfortran.exe:f90: src\NormalGravity.f95
gfortran.exe:f90: src\PlBar.f95
gfortran.exe:f90: src\PlBar_d1.f95
gfortran.exe:f90: src\PLegendre.f95
gfortran.exe:f90: src\PLegendreA.f95
gfortran.exe:f90: src\PLegendreA_d1.f95
gfortran.exe:f90: src\PLegendre_d1.f95
gfortran.exe:f90: src\PlmBar.f95
gfortran.exe:f90: src\PlmBar_d1.f95
gfortran.exe:f90: src\PlmIndex.f95
gfortran.exe:f90: src\PlmON.f95
gfortran.exe:f90: src\PlmON_d1.f95
gfortran.exe:f90: src\PlmSchmidt.f95
gfortran.exe:f90: src\PlmSchmidt_d1.f95
gfortran.exe:f90: src\PlON.f95
gfortran.exe:f90: src\PlON_d1.f95
gfortran.exe:f90: src\PlSchmidt.f95
gfortran.exe:f90: src\PlSchmidt_d1.f95
gfortran.exe:f90: src\PreGLQ.f95
gfortran.exe:f90: src\Random.f95
gfortran.exe:f90: src\SHAdmitCorr.f95
gfortran.exe:f90: src\SHBias.f95
gfortran.exe:f90: src\SHBiasAdmitCorr.f95
gfortran.exe:f90: src\SHBiasK.f95
gfortran.exe:f90: src\SHBiasKMask.f95
gfortran.exe:f90: src\SHCilmToVector.f95
gfortran.exe:f90: src\SHConfidence.f95
gfortran.exe:f90: src\SHConvertCoef.f95
gfortran.exe:f90: src\SHExpandDH.F95
gfortran.exe:f90: src\SHExpandDHC.F95
gfortran.exe:f90: src\SHExpandGLQ.F95
gfortran.exe:f90: src\SHExpandGLQC.F95
gfortran.exe:f90: src\SHExpandLSQ.F95
gfortran.exe:f90: src\SHFindLWin.f95
gfortran.exe:f90: src\SHGLQ.f95
gfortran.exe:f90: src\SHLocalizedAdmitCorr.f95
gfortran.exe:f90: src\SHMagPowerSpectra.f95
gfortran.exe:f90: src\SHMTCouplingMatrix.f95
gfortran.exe:f90: src\SHMTDebias.F95
gfortran.exe:f90: src\SHMTVarOpt.F95
gfortran.exe:f90: src\SHMultiply.f95
gfortran.exe:f90: src\SHMultiTaperCSE.f95
gfortran.exe:f90: src\SHMultiTaperMaskCSE.f95
gfortran.exe:f90: src\SHMultiTaperMaskSE.f95
gfortran.exe:f90: src\SHMultiTaperSE.f95
gfortran.exe:f90: src\SHPowerSpectra.f95
gfortran.exe:f90: src\SHPowerSpectraC.f95
gfortran.exe:f90: src\SHRead.f95
gfortran.exe:f90: src\SHRead2.f95
gfortran.exe:f90: src\SHReadJPL.f95
gfortran.exe:f90: src\SHReturnTapers.f95
gfortran.exe:f90: src\SHReturnTapersM.f95
gfortran.exe:f90: src\SHReturnTapersMap.f95
gfortran.exe:f90: src\SHRotateCoef.f95
gfortran.exe:f90: src\SHRotateRealCoef.f95
gfortran.exe:f90: src\SHSjkPG.f95
gfortran.exe:f90: src\SphericalCapCoef.f95
gfortran.exe:f90: src\Wigner3j.f95
gfortran.exe:f90: src\YilmIndexVector.f95
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
updating extension 'pyshtools._SHTOOLS' libraries from ['SHTOOLS'] to ['SHTOOLS', 'SHTOOLS', 'SHTOOLS']
updating extension 'pyshtools._constant' libraries from ['SHTOOLS'] to ['SHTOOLS', 'SHTOOLS', 'SHTOOLS']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'pyshtools._SHTOOLS' extension
compiling C sources
creating build\temp.win32-3.6\Release\build
creating build\temp.win32-3.6\Release\build\src.win32-3.6
creating build\temp.win32-3.6\Release\build\src.win32-3.6\src
creating build\temp.win32-3.6\Release\build\src.win32-3.6\build
creating build\temp.win32-3.6\Release\build\src.win32-3.6\build\src.win32-3.6
creating build\temp.win32-3.6\Release\build\src.win32-3.6\build\src.win32-3.6\src
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\temp.win32-3.6 -Ibuild\src.win32-3.6\build\src.win32-3.6\src -Ic:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\core\include -Ic:\users\mab0328\appdata\local\programs\python\python36-32\include -Ic:\users\mab0328\appdata\local\programs\python\python36-32\include -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\8.1\include\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\8.1\include\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcbuild\src.win32-3.6\src\_SHTOOLSmodule.c /Fobuild\temp.win32-3.6\Release\build\src.win32-3.6\src\_SHTOOLSmodule.obj -m64 -fPIC -O3 -ffast-math
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\temp.win32-3.6 -Ibuild\src.win32-3.6\build\src.win32-3.6\src -Ic:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\core\include -Ic:\users\mab0328\appdata\local\programs\python\python36-32\include -Ic:\users\mab0328\appdata\local\programs\python\python36-32\include -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\8.1\include\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" -I"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\8.1\include\shared" -I"C:\Program Files (x86)\Windows Kits\8.1\include\um" -I"C:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcbuild\src.win32-3.6\build\src.win32-3.6\src\fortranobject.c /Fobuild\temp.win32-3.6\Release\build\src.win32-3.6\build\src.win32-3.6\src\fortranobject.obj -m64 -fPIC -O3 -ffast-math
compiling Fortran sources
Fortran f77 compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -ffixed-form -fno-second-underscore -O3 -funroll-loops
Fortran f90 compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -fno-second-underscore -O3 -funroll-loops
Fortran fix compiler: C:\Program Files\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin\gfortran.exe -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -O3 -funroll-loops
creating build\temp.win32-3.6\Release\src
compile options: '-Ibuild\temp.win32-3.6 -Ibuild\src.win32-3.6\build\src.win32-3.6\src -Ic:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\core\include -Ic:\users\mab0328\appdata\local\programs\python\python36-32\include -Ic:\users\mab0328\appdata\local\programs\python\python36-32\include -c'
gfortran.exe:f90: src\PythonWrapper.f95
gfortran.exe:f77: build\src.win32-3.6\src\_SHTOOLS-f2pywrappers.f
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\mab0328\AppData\Local\Temp\pip-install-9fycvvf0\pyshtools\setup.py", line 292, in <module>
    setup(**metadata)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\core.py", line 169, in setup
    return old_setup(**new_attr)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\mab0328\AppData\Local\Temp\pip-install-9fycvvf0\pyshtools\setup.py", line 127, in run
    _install.run(self)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\command\install.py", line 62, in run
    r = self.setuptools_run()
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\command\install.py", line 36, in setuptools_run
    return distutils_install.run(self)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\Users\mab0328\AppData\Local\Temp\pip-install-9fycvvf0\pyshtools\setup.py", line 105, in run
    _build.run(self)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\command\build.py", line 47, in run
    old_build.run(self)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\command\build_ext.py", line 262, in run
    self.build_extensions()
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\command\build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\command\build_ext.py", line 458, in build_extension
    unlinkable_fobjects)
  File "c:\users\mab0328\appdata\local\programs\python\python36-32\lib\site-packages\numpy\distutils\command\build_ext.py", line 492, in _process_unlinkable_fobjects
    libraries.remove(lib)
ValueError: list.remove(x): x not in list

----------------------------------------

Command "c:\users\mab0328\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\mab0328\AppData\Local\Temp\pip-install-9fycvvf0\pyshtools\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\mab0328\AppData\Local\Temp\pip-record-phy1cfc5\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\mab0328\AppData\Local\Temp\pip-install-9fycvvf0\pyshtools\

@MarkWieczorek
Copy link
Member

Have you tried using the binary that has been built for windows? If you are using python 3, this should have installed automatically with pip. It appears that we don't have a python 2.7 wheel built... I'm not sure why, I'll look into this.

Also, could you confirm that numpy, fftw, and lapack are installed on your system? It is not clear from the log if these are being found or not.

@markmbaum
Copy link
Author

It could be an issue with dependencies. I certainly have numpy. I also have fftw and lapack, but it's possible they're not being found.

@MarkWieczorek
Copy link
Member

We are having a similar problem with building our binary wheels:

#147

The problem appears to be that fftw is not being found, even though it is installed by conda. It is possible that this is related to how the setup.py is looking for fftw

    # FFTW info
    fftw_info = get_info('fftw', notfound_action=2)
    dict_append(kwargs, **fftw_info)

@MarkWieczorek
Copy link
Member

I'm going to close this issue as it is is duplicate of this one (which is still open): #141

@liulei1009
Copy link

I have similar problems when installing pyshtools in windows. Have you fixed it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants