Open rbutleriii opened 6 months ago
Hi @rbutleriii
From the errors, it seems to be an issue with the tool scanpy, which is imported by cell2cell.
I suggest trying older or newer versions of scanpy and see what happens.
Here there is a detailed table of versions tht we have tested: https://www.cell.com/cell-reports-methods/fulltext/S2667-2375(24)00089-4?_returnURL=https%3A%2F%2Flinkinghub.elsevier.com%2Fretrieve%2Fpii%2FS2667237524000894%3Fshowall%3Dtrue#secsectitle0160
Scanpy 1.9 and matplotlib 3.7.3 should make your environment work.
Hmm, perhaps the link didn't resolve correctly, but it brought up the zenodos for ccc_protocols (the yml I am using) and tc2c_benchmark. I went ahead and tried scanpy 1.9.1 (1.10.4 is the latest) and still nothing. Looks like in the recent past scanpy developed an issue with matplotlib 3.7 https://github.com/scverse/scanpy/issues/3029. Trying a number of scenarios for install, but another issue appears to be pandas 2+ if you roll the matplot back to <3.7 https://github.com/scverse/scanpy/issues/2564. I will keep at it and follow up if that resolves everything.
If you scroll down a bit in the link you should find the table with the versions (look for Software Requirements Table). Also pandas 2+ generates a lot of issues since they deprecated many functions, I suggest using pandas 1.5.1 or so. Also, my bad I meant scanpy 1.9.0
Moving over from https://github.com/saezlab/liana/issues/152 as this seems to be a cell2cell issue. I am trying to get cell2cell to load on a cluster, in R using reticulate, but I keep getting a metaclass conflict:
Initially I figured it was a conflict with the
ccc_protocols
env_python_gpu.yml, but I have also tried setting up a test environment in isolation and it has the same problem. Built using the following:When trying to import it in R, I get the following:
Trying to call it directly in python:
Updating to the latest devel version of cell2cell doesn't help, issue is the same with
0.7.1
->0.7.4
.