envorment : ubuntu 22.04 python version = Python 3.10.12
When I installing the dependence:pip install tpu_mlir, there is an error:
ERROR: Could not install packages due to an OSError: [Errno 20] Not a directory: '/home/hw/.local/bin/f2py'
I find that the path of f2py is " /home/username/.local/lib/python3.10/site-packages/numpy/f2py" instead of "/home/username/.local/bin/f2py"
To fix this bug I have to make new blank dir "/bin/f2py" in ".local/" and create a sign-link
to connect them:
$ ln -s /home/username/.local/lib/python3.10/site-packages/numpy/f2py/f2py /home/hw/.local/bin/f2py
It works, but I think it is not perfect, what should I do to fix it completely?
envorment : ubuntu 22.04 python version = Python 3.10.12
When I installing the dependence:
pip install tpu_mlir
, there is an error:I find that the path of f2py is " /home/username/.local/lib/python3.10/site-packages/numpy/f2py" instead of "/home/username/.local/bin/f2py"
To fix this bug I have to make new blank dir "/bin/f2py" in ".local/" and create a sign-link to connect them:
$ ln -s /home/username/.local/lib/python3.10/site-packages/numpy/f2py/f2py /home/hw/.local/bin/f2py
It works, but I think it is not perfect, what should I do to fix it completely?