Skip to content

make: f2py: 没有那个文件或目录 #48

@YoungEnzo

Description

@YoungEnzo

I encountered a problem while installing Pyroms, please help me! Thank you! I have already installed all the necessary libraries, but I encountered a problem when installing Scrip after downloading Pyroms.

the neccessary libraries:

from mpl_toolkits.basemap import Basemap
import lpsolve55
mpl_toolkits

I found an error while making sudo:
(base) zeng@zeng-virtual-machine:~/zeng/pyroms/pyroms/external/scrip/source$ sudo make
f2py --fcompiler=gnu95 --f90exec=gfortran --f90flags='-g -fdefault-real-8 -ffixed-form -O2 -fPIC'
-L. -L/usr/lib -lnetcdf -lnetcdff -ljpeg -lmfhdf -ldf -lhdf5 -lhdf5_fortran -lhdf5_hl -lhdf5hl_fortran -I. -I/usr/include -m scrip -c kinds_mod.o constants.o iounits.o netcdf.o grids.o remap_vars.o remap_distwgt.o remap_conserv.o remap_bilinear.o remap_bicubic.o remap_read.o remap.o timers.o remap_write.o ./pyscrip.f90
make: f2py: 没有那个文件或目录 (There is no such file or directory)
make: *** [makefile:120:scrip_ext] 错误 127

To my knowledge, f2py is included in numpy, and I have also provided variables:
export f2py=/home/zeng/anaconda3/envs/py2/lib/python2.7/site-packages/numpy/f2py/

but it didn't work..

I am not very familiar with Linux, so this error has made me crazy. Is anyone willing to help me? Thank you very much!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions