Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

May need to remove pillow<7 from requirements.txt #78

Open
wangkuiyi opened this issue Jan 23, 2023 · 0 comments · May be fixed by #79
Open

May need to remove pillow<7 from requirements.txt #78

wangkuiyi opened this issue Jan 23, 2023 · 0 comments · May be fixed by #79

Comments

@wangkuiyi
Copy link

Following steps listed in https://github.com/iree-org/iree-torch#running-end-to-end-correctness-tests, I ran

python -m pip install -r requirements.txt

It gave me the following errors.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Rolling back uninstall of Pillow
  Moving to /Users/y/miniforge3/envs/torch-mlir/lib/python3.10/site-packages/PIL/
   from /Users/y/miniforge3/envs/torch-mlir/lib/python3.10/site-packages/~IL
  Moving to /Users/y/miniforge3/envs/torch-mlir/lib/python3.10/site-packages/Pillow-9.4.0.dist-info/
   from /Users/y/miniforge3/envs/torch-mlir/lib/python3.10/site-packages/~illow-9.4.0.dist-info
error: legacy-install-failure

It turns out that a contemporary version of pillow is 9.4.0. However, requirements.txt wants version <7.

pillow<7

@wangkuiyi wangkuiyi linked a pull request Jan 23, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant