Skip to content
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

pip install tpu_mlir error #189

Open
Zhighway777 opened this issue Sep 12, 2024 · 0 comments
Open

pip install tpu_mlir error #189

Zhighway777 opened this issue Sep 12, 2024 · 0 comments

Comments

@Zhighway777
Copy link

Zhighway777 commented Sep 12, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant