-
Notifications
You must be signed in to change notification settings - Fork 106
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
Comments
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. |
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. |
We are having a similar problem with building our binary wheels: 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
|
I'm going to close this issue as it is is duplicate of this one (which is still open): #141 |
I have similar problems when installing pyshtools in windows. Have you fixed it? |
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
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\
The text was updated successfully, but these errors were encountered: