Closed aschneid42 closed 5 years ago
This looks like a Gfortran 7.4.0 bug on Cygwin. I have not used Cygwin since Windows Subsystem for Linux became available a few years ago, as WSL is superior is virtually every way including computational speed.
I just tried Cygwin, and Cygwin seems totally broken for Numpy (in addition to this Cygwin-specific Gfortran issue) so I would consider these alternatives (in general too, not just for Lowtran):
native Windows only: One-time configure to point to Gfortran using Powershell:
echo "[build]`ncompiler=mingw32" | Out-File -Encoding ASCII ~/pydistutils.cfg
please reopen if you have further issues, sadly I can't help the broken internals of Cygwin
@scivision Hi, I've successfully installed Fortran compilers on Windows 10 and tested that it works. But when I run the command "pip install -e ." from the lowtran folder, I get this segmentation fault error! Have you encountered this before? Any ideas?
ERROR: Command errored out with exit status 1: 'c:\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Projects\lowtran-mas ter\setup.py'"'"'; file='"'"'C:\Projects\lowtran-master\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"' "'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.