-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can't Install Pyradex on MacOS10.15 #33
Comments
Could you give fortran version info? i.e.
also, confirm that you have f2py installed, and say something about its version. If you just run f2py, it will print something like:
at the end |
Here is my fortran version info (GCC 10.2.0_4): |
ok thanks. hm. can you post the complete log from running the install command, including the command? I don't see anything obviously wrong, but I wonder if there's an issue with the latest gcc version. |
Sure thing:
|
could you please show also the python command you ran? |
FFLAGS='-arch x86_64 -fPIC' CFLAGS='-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -g -O2' LDFLAGS='-arch x86_64 -undefined dynamic_lookup -bundle' python setup.py install_radex Not sure if this is what you mean, but this is the command I ran to prompt the install. I also tried |
yeah that's what I need. OK. I don't know what to do about this yet, though... I don't know if I've seen this error and there is no obvious error to fix here. |
it might be that you need a different gfortran version - do you have anaconda? Can you try using the anaconda-installed version of fortran? can probably do:
|
This worked! Seems the problem was gfortran's connection to anaconda. |
Hello I am having trouble installing Pyradex. Initially I did not have Fortran installed on my mac and got this error: error: numpy.distutils.fcompiler.CompilerNotFound: gnu95: f90 nor f77. After brew install gcc and creating links between fortran and Xcode I still was unable to install and now get this error: Command "/usr/local/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -arch x86_64 -fPIC -arch x86_64 -fPIC -O3 -funroll-loops -I/Users/eddieherndon/pyradex/Radex/src -I/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/src.macosx-10.9-x86_64-3.7 -I/opt/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/opt/anaconda3/include/python3.7m -c -c /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.f -o /var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmp7k882xpm/var/folders/45/qw8yc2f506d6h20jtvvqv5dh0000gn/T/tmpm1ds_y1v.o" failed with exit status 1.
I am running MacOS10.15
The text was updated successfully, but these errors were encountered: