Solution to issue cannot be found in the documentation.
[x] I checked the documentation.
Issue
Since 1.0.0, gymnasium supports Python 3.12 and Numpy 2.0. Specifically, the dependency says "numpy >=1.21.0",.
However, the following command fails to resolve dependencies:
$ mamba create -n gym -c conda-forge "python>=3.12" "numpy>=2.0" "gymnasium>=1.0"
Looking for: ["python[version='>=3.12']", "numpy[version='>=2.0']", "gymnasium[version='>=1.0']"]
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
pkgs/main/noarch No change
pkgs/r/linux-64 No change
pkgs/main/linux-64 No change
pkgs/r/noarch No change
Could not solve for environment specs
The following packages are incompatible
├─ gymnasium >=1.0 is installable with the potential options
│ ├─ gymnasium 1.0.0 would require
│ │ ├─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ └─ python_abi 3.10.* *_cp310, which can be installed;
│ ├─ gymnasium 1.0.0 would require
│ │ ├─ python >=3.11,<3.12.0a0 , which can be installed;
│ │ └─ python_abi 3.11.* *_cp311, which can be installed;
│ ├─ gymnasium 1.0.0 would require
│ │ ├─ numpy >=1.26.4,<2.0a0 with the potential options
│ │ │ ├─ numpy [1.26.4|2.0.0|...|2.1.3] would require
│ │ │ │ └─ python_abi 3.10.* *_cp310, which can be installed;
│ │ │ ├─ numpy [1.26.4|2.0.0|...|2.1.3] would require
│ │ │ │ └─ python_abi 3.11.* *_cp311, which can be installed;
│ │ │ ├─ numpy 1.26.4, which can be installed;
│ │ │ ├─ numpy [1.26.4|2.0.0|2.0.1|2.0.2] would require
│ │ │ │ └─ python_abi 3.9.* *_cp39, which can be installed;
│ │ │ ├─ numpy 1.26.4 would require
│ │ │ │ └─ pypy3.9 >=7.3.15 , which can be installed;
│ │ │ ├─ numpy [1.26.4|2.0.0|2.0.1|2.1.1|2.1.3] would require
│ │ │ │ └─ python >=3.10,<3.11.0a0 , which can be installed;
│ │ │ ├─ numpy [1.26.4|2.0.0|2.0.1|2.1.1|2.1.3] would require
│ │ │ │ └─ python >=3.11,<3.12.0a0 , which can be installed;
│ │ │ └─ numpy [1.26.4|2.0.0|2.0.1] would require
│ │ │ └─ python >=3.9,<3.10.0a0 , which can be installed;
│ │ ├─ python >=3.12,<3.13.0a0 but there are no viable options
│ │ │ ├─ python [3.12.0|3.12.1|...|3.12.7] conflicts with any installable versions previously reported;
│ │ │ └─ python [3.12.0|3.12.1|...|3.12.7] would require
│ │ │ └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
│ │ └─ python_abi 3.12.* *_cp312, which requires
│ │ └─ python 3.12.* *_cpython, which can be installed;
│ └─ gymnasium 1.0.0 would require
│ ├─ python >=3.9,<3.10.0a0 , which can be installed;
│ └─ python_abi 3.9.* *_cp39, which can be installed;
├─ numpy >=2.0 is installable with the potential options
│ ├─ numpy [1.26.4|2.0.0|...|2.1.3], which can be installed (as previously explained);
│ ├─ numpy [1.26.4|2.0.0|...|2.1.3], which can be installed (as previously explained);
│ ├─ numpy [1.26.4|2.0.0|2.0.1|2.0.2], which can be installed (as previously explained);
│ ├─ numpy [1.26.4|2.0.0|2.0.1|2.1.1|2.1.3], which can be installed (as previously explained);
│ ├─ numpy [1.26.4|2.0.0|2.0.1|2.1.1|2.1.3], which can be installed (as previously explained);
│ ├─ numpy [1.26.4|2.0.0|2.0.1], which can be installed (as previously explained);
│ ├─ numpy [2.0.0|2.0.1|...|2.1.3] conflicts with any installable versions previously reported;
│ ├─ numpy [2.1.0|2.1.1|2.1.2|2.1.3] would require
│ │ └─ python_abi 3.13.* *_cp313, which can be installed;
│ ├─ numpy 2.1.0rc1 would require
│ │ └─ _numpy_rc, which does not exist (perhaps a missing channel);
│ └─ numpy [2.1.2|2.1.3] would require
│ └─ python_abi 3.13.* *_cp313t, which can be installed;
└─ python >=3.12 is not installable because there are no viable options
├─ python [3.12.0|3.12.1|...|3.12.7] conflicts with any installable versions previously reported;
├─ python [3.12.0|3.12.1|...|3.12.7], which cannot be installed (as previously explained);
├─ python 3.13.0 conflicts with any installable versions previously reported;
└─ python [3.13.0rc1|3.13.0rc2|3.13.0rc3] would require
└─ _python_rc, which does not exist (perhaps a missing channel).
Solution to issue cannot be found in the documentation.
Issue
Since 1.0.0, gymnasium supports Python 3.12 and Numpy 2.0. Specifically, the dependency says
"numpy >=1.21.0",
.However, the following command fails to resolve dependencies:
Installed packages
Environment info