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

Early articles may have problems running lit #8

Open
j2kun opened this issue Aug 7, 2023 · 2 comments
Open

Early articles may have problems running lit #8

j2kun opened this issue Aug 7, 2023 · 2 comments

Comments

@j2kun
Copy link
Owner

j2kun commented Aug 7, 2023

If you're following along PR by PR and checking out individual commits to run examples, you may encounter python complaining it can't find the lit module.

In the fourth article in the series I realized bazel was using the system Python, and aac8490 migrates to a bazel-managed python runtime.

A simple fix is to run pip install lit in your system Python. Or else cherry pick aac84908f7b09ec1b14489bbc0837e697b191630 to your step in the article series.

@stanciuadrian
Copy link

A simple fix is to run pip install python in your system Python

python here gave me an error.

MLIR — Running and Testing a Lowering correctly suggests pip install lit.

@j2kun
Copy link
Owner Author

j2kun commented May 1, 2024

A simple fix is to run pip install python in your system Python

python here gave me an error.

MLIR — Running and Testing a Lowering correctly suggests pip install lit.

Sorry! Stupid typo fixed in place above.

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

No branches or pull requests

2 participants