Closed Rongtingting closed 3 weeks ago
XClone v0.3.4 & v0.3.5 are only tested and supported in Python 3.7, and we recommend you use Python 3.7 for these two versions.
For Python3.8, we use poetry to manage the dependency and it shows as follows:
(xclone_dev3.8) (base) [rthuang@xomics XClone]$ poetry add scanpy Using version ^1.10.1 for scanpy
Updating dependencies Resolving dependencies... (0.3s)
The current project's supported Python range (>=3.8,<3.11) is not compatible with some of the required packages Python requirement:
- scanpy requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9
Because no versions of scanpy match >1.10.1,<2.0.0 and scanpy (1.10.1) requires Python >=3.9, scanpy is forbidden. So, because xclone depends on scanpy (^1.10.1), version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the
python
ormarkers
propertiesFor scanpy, a possible solution would be to set the
python
property to ">=3.9,<3.11"https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies, https://python-poetry.org/docs/dependency-specification/#using-environment-markers
We recommend not use Python 3.8 for XClone installation.
XClone version>=0.3.6 recommend Python >=3.9.
XClone v0.3.4 & v0.3.5 are only tested and supported in Python 3.7. XClone version>=0.3.6 highly recommend Python >=3.9 (Python 3.7 also supports XClone version0.3.6). Future functions extended to spatial will be developed on Python >=3.9.
try to support 3.7, 3.8, 3.9