SCENICprotocol
SCENICprotocol copied to clipboard
ImportError: cannot import name 'plot_scatter' from 'scanpy.plotting._tools.scatterplots'
Hello, there is something wrong when I import the package, and I found that there is no function called "scatterplots" in the .py file. Could you help me deal with the issue? Thank you so much!
Hi @nobie666 ,
You could downgrade scanpy to 1.4.4.post1
. This will fix this until we update the code for later scanpy releases.
OK,thanks for your answer,the problem has been solved!
Hello, I met the same error but can not be solved with downgrade scanpy version to 1.4.4.post1 .
Any other updates
?
Hi, I downgraded scanpy to 1.4.4.post1 and now I'm getting this error. Any progress on this?
ImportError: cannot import name 'Iterable' from 'collections' (/home/hinds/anaconda3/envs/pyscenic/lib/python3.10/collections/__init__.py)
@julie-jch I solved this problem by replacing the line,
from collections import Iterable
,
with the line,
from collections.abc import Iterable
.
The underlying issues is the deprecation of some aliases from collections into collections.abc from python 3.10.
See https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python
also.
Hi i have install scanpy 1.4.4.post1, butt now have the error ModuleNotFoundError: No module named 'scanpy.plotting'.