runpod-python icon indicating copy to clipboard operation
runpod-python copied to clipboard

Not able to install runpod and diffusers together using Poetry

Open holwech opened this issue 1 year ago • 4 comments

Describe the bug Installing runpod together with the diffusers library using Poetry will cause the installation process to go on in an infinite loop. This hasn't been a problem before, so I guess something has been change in this package or diffusers which is causing issues resolving the packages.

To Reproduce This pyproject.py file should reproduce the problem:

[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = ["test <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
runpod = "^1.3.0"
diffusers = "^0.25.0"


[tool.poetry.group.dev.dependencies]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

holwech avatar Jan 04 '24 14:01 holwech

Is this working fine with older version? @holwech is it happening just when you install runpod along with other dependencies?

pandyamarut avatar Jan 04 '24 22:01 pandyamarut

This issue seemed to happen once I updated to the latest version of diffusers. It's not a critical issue for me, but since Poetry is quite popular and runpod + diffusers installed together is a common scenario, it might be in your interest that these packages are compatible.

I did not have this issue with earlier versions of the diffusers package. It seems like these two packages specifically don't install together.

holwech avatar Jan 12 '24 14:01 holwech

Do you continue to have this problem? Sounds like there is a shared dependence that is causing the conflict. Does the error indicate which one it might be?

justinmerrell avatar Jan 21 '24 23:01 justinmerrell

I have the same error. Anyone know how to resolve?

minhluuquang avatar Mar 28 '24 06:03 minhluuquang