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

pillow dependency issue while installing from source #23

Open
anm-ol opened this issue Dec 18, 2024 · 1 comment
Open

pillow dependency issue while installing from source #23

anm-ol opened this issue Dec 18, 2024 · 1 comment

Comments

@anm-ol
Copy link

anm-ol commented Dec 18, 2024

Did pip install . as mentioned in the readme.
Getting this error:
Building wheels for collected packages: genmo, antlr4-python3-runtime Building wheel for genmo (pyproject.toml) ... done Created wheel for genmo: filename=genmo-0.1.0-py3-none-any.whl size=46401 sha256=bde2b71cc037cb0b8a2026bcc3683ff8e86cb47a28268c9f963ea49b58703e29 Stored in directory: /tmp/pip-ephem-wheel-cache-lnihuzs4/wheels/13/60/28/f1727669e0ebd93465578519a1394ecc5ccb1fa8ebdbebcca1 Building wheel for antlr4-python3-runtime (setup.py) ... done Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=a2263473ac7cfbb7137d18a99dd4fd48c168ac36c1cb115806d0b326ebf89f26 Stored in directory: /tmp/pip-ephem-wheel-cache-lnihuzs4/wheels/1f/be/48/13754633f1d08d1fbfc60d5e80ae1e5d7329500477685286cd Successfully built genmo antlr4-python3-runtime Installing collected packages: antlr4-python3-runtime, addict, rpds-py, pillow, omegaconf, referencing, jsonschema-specifications, jsonschema, ray, genmo Attempting uninstall: pillow Found existing installation: pillow 10.4.0 Uninstalling pillow-10.4.0: Successfully uninstalled pillow-10.4.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. moviepy 2.1.1 requires pillow<11.0,>=9.2.0, but you have pillow 11.0.0 which is incompatible. Successfully installed addict-2.4.0 antlr4-python3-runtime-4.9.3 genmo-0.1.0 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 omegaconf-2.3.0 pillow-11.0.0 ray-2.40.0 referencing-0.35.1 rpds-py-0.22.3

@feifeibear
Copy link
Contributor

The error indicates a dependency conflict between moviepy and the newly installed pillow version. To resolve this:

  1. Downgrade Pillow:

    • Run pip install pillow==10.4.0 to match moviepy's requirement (pillow<11.0,>=9.2.0).
  2. Exclude Pillow from Installation:

    • If you don't need the latest pillow, exclude it during installation: pip install . --no-deps.
  3. Update Moviepy:

    • Check if a newer version of moviepy supports pillow>=11.0.0. If so, update moviepy: pip install --upgrade moviepy.

Let me know if you need further clarification!

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

2 participants