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

Fail to pixi add tensorflow #1

Closed
shenvitor opened this issue Apr 10, 2024 · 2 comments
Closed

Fail to pixi add tensorflow #1

shenvitor opened this issue Apr 10, 2024 · 2 comments
Assignees

Comments

@shenvitor
Copy link
Owner

░▒▓ /data/lo/v/d/C/sympy-playground main !1  pixi add tensorflow
× could not determine any available versions for tensorflow on linux-64. Either the
│ package could not be found or version constraints on other dependencies result in
│ a conflict.
╰─▶ Cannot solve the request because of: tensorflow * cannot be installed because there
are no viable options:
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda112py39hc7f77e4_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda111py39h26679cf_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda110py39h1b3dc91_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda102py39h42c91ab_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda112py38h1eec131_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda111py38hf41bb10_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda110py38h7f44352_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda102py38h8c73509_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda112py37h8d33417_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda111py37ha84a828_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda110py37h341a48a_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda *, for which no candidates were found.
├─ tensorflow 2.6.2 would require
│ └─ tensorflow-base ==2.6.2 cuda102py37h55054dc_2, which cannot be installed because
there are no viable options:
│ └─ tensorflow-base 2.6.2 would require
│ └─ __cuda , for which no candidates were found.
├─ tensorflow 1.13.2 would require
│ └─ tensorflow-base ==1.13.2 py27h76b4ce7_0, which cannot be installed because there
are no viable options:
│ └─ tensorflow-base 1.13.2 would require
│ └─ tensorflow-estimator >=1.13.0,<1.14.0a0, for which no candidates were
found.
├─ tensorflow 1.13.1 would require
│ └─ tensorflow-base ==1.13.1 py27h76b4ce7_8, which cannot be installed because there
are no viable options:
│ └─ tensorflow-base 1.13.1 would require
│ └─ tensorflow-estimator >=1.13.0,<1.14.0a0, for which no candidates were
found.
├─ tensorflow 1.13.1 would require
│ └─ tensorflow-base ==1.13.1 py36h76b4ce7_7, which cannot be installed because there
are no viable options:
│ └─ tensorflow-base 1.13.1 would require
│ └─ tensorflow-estimator >=1.13.0,<1.14.0a0, for which no candidates were
found.
├─ tensorflow 1.13.1 would require
│ └─ tensorflow-base ==1.13.1 py36h58012e3_6, which cannot be installed because there
are no viable options:
│ └─ tensorflow-base 1.13.1 would require
│ └─ tensorflow-estimator >=1.13.0,<1.14.0a0, for which no candidates were
found.
├─ tensorflow 1.13.1 would require
│ └─ tensorflow-base ==1.13.1 py37h5ece82f_5, which cannot be installed because there
are no viable options:
│ └─ tensorflow-base 1.13.1 would require
│ └─ tensorflow-estimator >=1.13.0,<1.14.0a0, for which no candidates were
found.
├─ tensorflow 1.13.1 would require
│ └─ tensorflow-base ==1.13.1 py37h5ece82f_4, which cannot be installed because there
are no viable options:
│ └─ tensorflow-base 1.13.1 would require
│ └─ tensorflow-estimator >=1.13.0,<1.14.0a0, for which no candidates were
found.
└─ tensorflow 1.13.1 | 1.13.1 | 1.13.1 | 1.13.1 | 1.13.1 | 1.13.1 | 2.7.0 | 2.7.0 |
2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0 | 2.7.0
| 2.7.0 | 2.7.0 | 2.7.0 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 |
2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.7.1 | 2.8.0 | 2.8.0
| 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 |
2.8.0 | 2.8.0 | 2.8.0 | 2.8.0 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1
| 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.8.1 | 2.9.1 |
2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1
| 2.9.1 | 2.9.1 | 2.9.1 | 2.9.1 | 2.10.0 | 2.10.0 | 2.10.0 | 2.10.0 | 2.11.0 | 2.11.0
| 2.11.0 | 2.11.0 | 2.11.0 | 2.11.0 | 2.11.1 | 2.11.1 | 2.11.1 | 2.12.1 | 2.12.1
| 2.12.1 | 2.12.1 | 2.12.1 | 2.12.1 | 2.12.1 | 2.12.1 | 2.13.1 | 2.13.1 | 2.13.1
| 2.13.1 | 2.13.1 | 2.13.1 | 2.13.1 | 2.13.1 | 2.14.0 | 2.14.0 | 2.14.0 | 2.15.0 |
2.15.0 | 2.15.0 | 2.15.0 | 2.15.0 | 2.15.0 would require
└─ tensorflow-estimator >=1.13.0,<1.14.0rc0, for which no candidates were found.
The following packages are incompatible
├─ tensorflow * can be installed with any of the following options:
│ ├─ tensorflow 1.14.0 | 2.4.0 | 2.4.1 | 2.4.3 | 2.6.0 would require
│ │ └─ python_abi 3.6.
_cp36m, which can be installed with any of the following
options:
│ │ └─ python_abi 3.6 | 3.6 | 3.6
│ ├─ tensorflow 2.12.1 | 2.12.1 | 2.13.1 | 2.14.0 | 2.15.0 | 2.15.0 | 2.15.0 would
require
│ │ └─ python_abi 3.11.
_cp311, which can be installed with any of the following
options:
│ │ └─ python_abi 3.11
│ ├─ tensorflow 2.7.0 | 2.7.1 | 2.8.0 | 2.8.1 | 2.9.1 | 2.10.0 | 2.11.0 | 2.11.0 |
2.11.1 | 2.12.1 | 2.12.1 | 2.13.1 | 2.14.0 | 2.15.0 | 2.15.0 | 2.15.0 would require
│ │ └─ python_abi 3.10.
_cp310, which can be installed with any of the following
options:
│ │ └─ python_abi 3.10
│ ├─ tensorflow 2.4.1 | 2.4.3 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0
| 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 |
2.6.2 | 2.7.0 | 2.7.1 | 2.8.0 | 2.8.1 | 2.9.1 | 2.10.0 | 2.11.0 | 2.11.0 | 2.11.1 |
2.12.1 | 2.12.1 | 2.13.1 | 2.14.0 | 2.15.0 | 2.15.0 | 2.15.0 would require
│ │ └─ python_abi 3.9.
_cp39, which can be installed with any of the following
options:
│ │ └─ python_abi 3.9 | 3.9
│ ├─ tensorflow 2.4.0 | 2.4.1 | 2.4.3 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 |
2.6.0 | 2.6.0 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2
| 2.6.2 | 2.6.2 | 2.7.0 | 2.7.1 | 2.8.0 | 2.8.1 | 2.9.1 | 2.10.0 | 2.11.0 | 2.11.0 |
2.11.1 | 2.12.1 | 2.12.1 | 2.13.1 would require
│ │ └─ python_abi 3.8.
_cp38, which can be installed with any of the following
options:
│ │ └─ python_abi 3.8 | 3.8 | 3.8
│ └─ tensorflow 1.14.0 | 2.4.0 | 2.4.1 | 2.4.3 | 2.6.0 | 2.6.0 | 2.6.0 | 2.6.0 |
2.6.0 | 2.6.0 | 2.6.0 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2 | 2.6.2
| 2.6.2 | 2.6.2 | 2.6.2 | 2.7.0 | 2.7.1 | 2.8.0 | 2.8.1 | 2.9.1 | 2.10.0 would require
│ └─ python_abi 3.7.
_cp37m, which can be installed with any of the following
options:
│ └─ python_abi 3.7 | 3.7 | 3.7
└─ python >=3.12.2,<3.13 cannot be installed because there are no viable options:
└─ python 3.12.2 would constrain
└─ python_abi 3.12.
*_cp312 , which conflicts with any installable versions
previously reported

@redeboer
Copy link
Collaborator

It probably has to do that TensorFlow support for Python 3.12 is fairly recent and perhaps not working that well with Pixi/Conda-forge. See also ComPWA/tensorwaves#506.

The solution is to downgrade Python in your Pixi environment:

pixi add 'python==3.11.*' tensorflow

That also directly installs TF.

@shenvitor shenvitor self-assigned this Apr 10, 2024
@shenvitor
Copy link
Owner Author

It probably has to do that TensorFlow support for Python 3.12 is fairly recent and perhaps not working that well with Pixi/Conda-forge. See also ComPWA/tensorwaves#506.

The solution is to downgrade Python in your Pixi environment:

pixi add 'python==3.11.*' tensorflow

That also directly installs TF.

This issue was solved by downgrading the Python version.

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