I am trying to import a fortran subroutine into python code. Following this guide https://notmatthancock.github.io/2017/02/10/calling-fortran-from-python.html I have added the following line into my fortran code: However when I try to use f2py -c fireball_ES_param.f -m fireball to create fireball.so to import in my python code I get several hundreds of warnings, which might be the problem but I am not
Tag: python-import
Cannot import any modules (installed used pip) in python 2.7.14
I downloaded the source code of python 2.7.14 and built it and installed it on linux ( Red Hat 4.8.5-16 ). I have earlier installed python-magic and requests libraries. Now when I try to import modules installed using pip, I get this: while similar thing works perfectly fine in python 2.7.5 (default with the RHEL system) Am I missing any