Couldn't install tkwant with python version 3.12
Hi, I have installed kwant perfectly with python 3.12, but when I tried to install tkwant in the same environment, I got some error shown below, could you please take a look? Thanks in advance. UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment: Specifications: - tkwant -> python[version='>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0'] Your python: python=3.12 If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that. The following specifications were found to be incompatible with your system: - feature:/linux-64::__glibc==2.28=0 - feature:/linux-64::__unix==0=0 - feature:|@/linux-64::__glibc==2.28=0 - feature:|@/linux-64::__unix==0=0 - tkwant -> cython -> __glibc[version='>=2.17|>=2.17,<3.0.a0'] - tkwant -> sympy -> __unix
Hi jy2ff, right now, tkwant has no condo installer for python 3.12. As a workaround, I see two options: If you like to stay with conda, downgrade your python version to one where tkwant is supported. Alternatively, you can stay with python 3.12 but install tkwant from source as described in the documentation. Best, Thomas ----- Mail original ----- De: "jy2ff--- via Kwant-discuss" <kwant-discuss@python.org> À: "kwant-discuss" <kwant-discuss@python.org> Envoyé: Mardi 22 Octobre 2024 18:20:43 Objet: [Kwant] Couldn't install tkwant with python version 3.12 Hi, I have installed kwant perfectly with python 3.12, but when I tried to install tkwant in the same environment, I got some error shown below, could you please take a look? Thanks in advance. UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment: Specifications: - tkwant -> python[version='>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0'] Your python: python=3.12 If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that. The following specifications were found to be incompatible with your system: - feature:/linux-64::__glibc==2.28=0 - feature:/linux-64::__unix==0=0 - feature:|@/linux-64::__glibc==2.28=0 - feature:|@/linux-64::__unix==0=0 - tkwant -> cython -> __glibc[version='>=2.17|>=2.17,<3.0.a0'] - tkwant -> sympy -> __unix
The installment works after I downgrade it to 3.11. Thanks, Jian-Guang
participants (2)
-
jy2ff@virginia.edu
-
Thomas KLOSS