Closed drneavin closed 7 months ago
I believe this was just fixed (not released) by PR #944
CC: @atolopko-czi
Hi @bkmartinjr, thanks for the fast reply. That's great news! I'll wait for the new release with this fix and see when it resolves it unless there's a dev version that I could test? Or an older version that would work?
I can confirm that the updates in PR https://github.com/chanzuckerberg/cellxgene-census/pull/944 resolve this error by installing the update directly from github as suggested by @pablo-gar in PR #951. But I also had to install accelerate
(pip install accelerate -U
) and torchdata
(pip install torchdata
).
Thanks!
Thank you. The fix will be in the next release (coming fairly soon)
Describe the bug
I'm running into issues with loading some of the libraries required for running Geneformer using the Census model. I installed the required packages listed on the tutorial Requirements. However, when I then tried to load the required packages in python, I ran into some issues that I couldn't resolve. Specifically, this applies to the following:
The first time I try to import it, I receive the following error:
So I then I installed
psutil
and it throws a similar error abouttorchdata
:so I installed
torchdata
and it throws an error aboutscipy
andmatrix
:However, I can import
scipy
and I don't see any evidence that it has an attributematrix
:I think it's also important to note that one of the packages (I think Geneformer) requires python version between 3.7 and 3.11. I have tried this with three different python versions: 3.10.13, 3.11.0 and 3.11.7 all with the same result.
To Reproduce
pip install -U cellxgene-census
conda install conda-forge::git-lfs
conda install conda-forge::awscli
Start python and import packages:
Expected behavior
I expect the package to load without issue but run into errors described above and unable to identify how to rectify it.
Environment
Provide a description of your system and the software versions.
HPC:
I can also send through the environment yml file but it's not allowed as an attachment on github
Thanks for your assistance, I'm excited to try geneformer with the CellxGene Census model.