-
Notifications
You must be signed in to change notification settings - Fork 75
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
Unable to install package #135
Comments
Hi @wuduxunran, thanks for reaching out 🙂 we're working on this issue #136, as you can see allowing torch v2 creates some problems in <3.11 builds: I need to understand how to handle this with poetry. In the meantime, if you want to try using auton-survival with torch 2, you can use the following pyproject.toml (or install with pip as a VCS dependency): [tool.poetry]
name = "your-package"
version = "0.1.0"
description = ""
authors = ["Name Surname <[email protected]>"]
readme = "README.md"
packages = [{include = "your_package"}]
[tool.poetry.dependencies]
python = "~3.11"
auton-survival = {git = "https://github.com/matteo4diani/auton-survival.git", rev = "dev-mfordiani-135-torch-2"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" |
Thank you for your valuable response, your assistance was incredibly helpful in resolving this question. |
Dear:
I am installing the package, however, get the following error:
ERROR: Ignored the following versions that require a different python version: 0.27.3 Requires-Python >=3.7, !=3.11.*
ERROR: Could not find a version that satisfies the requirement torch<2.0,>=1.13 (from auton-survival) (from versions: 2.0.0, 2.0.1, 2.1.0)
ERROR: No matching distribution found for torch<2.0,>=1.13
Is this package not suitable for python3.11 and torch2.0? If not, is there a suitable version for python3.11 and torch2.0?
The text was updated successfully, but these errors were encountered: