question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: Cannot install dalle-mini because these package versions have conflicting dependencies.

See original GitHub issue

I get this error after running pip install -e ".[dev]" from readme:

Collecting black[jupyter]
  Downloading black-22.1.0-cp310-cp310-win_amd64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 3.6 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of dalle-mini[dev] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install dalle-mini because these package versions have conflicting dependencies.

The conflict is caused by:
    optax 0.1.2 depends on jaxlib>=0.1.37
    optax 0.1.1 depends on jaxlib>=0.1.37
    optax 0.1.0 depends on jaxlib>=0.1.37
    optax 0.0.91 depends on jaxlib>=0.1.37
    optax 0.0.9 depends on jaxlib>=0.1.37
    optax 0.0.8 depends on jaxlib>=0.1.37
    optax 0.0.6 depends on jaxlib>=0.1.37
    optax 0.0.5 depends on jaxlib>=0.1.37
    optax 0.0.3 depends on jaxlib>=0.1.37
    optax 0.0.2 depends on jaxlib>=0.1.37
    optax 0.0.1 depends on jaxlib>=0.1.37

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts   
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the 'C:\Python310\python.exe -m pip install --upgrade pip' command.

Please note that I’m not a Python programmer so I apologize if this is something trivial. Any help would be welcome.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
cryptozealotcommented, Jun 24, 2022

pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html Run it inside container or amend the Dockerfile in /Docker directory

1reaction
borisdaymacommented, Jun 22, 2022

I don’t think you need the dev dependencies if you just want to use the model. The inference notebook will be a good place to start.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't install package because of conflict dependecy
1 and liionpack==0.3.2 because these package versions have conflicting dependencies. and they wrote this message for me to fix: loosen the range ......
Read more >
[P] DALL-E Mini stripped to its bare essentials and converted ...
ERROR : Cannot install flax because these package versions have conflicting dependencies. The conflict is caused by: optax 0.1.2 depends on ...
Read more >
dalle-mini - PyPI
Dependencies Installation. For inference only, use pip install git+https://github.com/borisdayma/dalle-mini.git . For development, clone the repo and use ...
Read more >
Show HN: I stripped DALL·E Mini to its bare essentials and ...
I can't make any of the image generation worked - they all fail with the error message. Did you have luck with any...
Read more >
Package config files should be provided to link in FlexiBLAS ...
Description of problem: Since the 0.2.20 version openBLAS provides the ... It is Fedora's policy to close all bug reports from releases that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found