[BUG]: PILLOW_VERSION
See original GitHub issueThank you for helping us improve solaris
!
Summary of the bug
There appears to be an issue with PIL version
Steps to reproduce the bug
By following the installation instructions you get the following error:
conda env create -n solaris -f environment-gpu.yml
conda activate solaris
pip install .
solaris_run_ml --help
...
ImportError: cannot import name 'PILLOW_VERSION' from 'PIL' (anaconda3/envs/solaris/lib/python3.7/site-packages/PIL/__init__.py)
Installing Pillow 6.1 appears to resolve the issue:
pip install Pillow==6.1
solaris_run_ml --help
usage: solaris_run_ml [-h] --config CONFIG
Run a Solaris ML pipeline based on a config YAML
optional arguments:
-h, --help show this help message and exit
--config CONFIG, -c CONFIG
Full path to a YAML-formatted config file specifying
parameters for model training and/or inference.
Same behavior occurred in master and v0.2.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Release Notes - Pillow (PIL Fork) 9.3.0 documentation
Pillow is released quarterly on January 2nd, April 1st, July 1st and October 15th. Patch releases are created if the latest release contains...
Read more >Issues · python-pillow/Pillow - GitHub
Contribute to python-pillow/Pillow development by creating an account on GitHub. ... Issues: python-pillow/Pillow. Release Pillow 9.4.0 on January 2, 2023.
Read more >pillow package : Ubuntu - Launchpad Bugs
pillow (Ubuntu) 12. Undecided. New. #1638183 package python-imaging 2.9.0-1 failed to install/upgrade: package is in a very bad inconsistent state; ...
Read more >Pillow 2.2.1 - PyPI
Pillow 2.0.0 added Python 3 support and includes many bug fixes from many contributors. ... Pillow has been tested with version 0.1.3, which...
Read more >Wierd pillow version conflict ( Python 3.7.9 ) - Stack Overflow
I had the same problem with a fresh environment, with all packages at their newest version. It might be a bug. A quick...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
torchvision v0.5.0 has been released with the fix:
torchvision>=0.5.0
Thanks for the heads up @hugovk. In this case I’ll probably let users manage it themselves rather than explicitly pin in the repo since it’ll be fixed in a few days.