Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library Issue #1

Closed
utkarsh027 opened this issue Apr 25, 2024 · 14 comments
Closed

Library Issue #1

utkarsh027 opened this issue Apr 25, 2024 · 14 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@utkarsh027
Copy link

There is a issue regarding library conflict. So please can You rerun the sctiger and let me know the exact cause of error, after inflating the data step.

@chenyongrowan
Copy link
Owner

Hi! Can you please send the list of packages installed for your scTIGER environment? If you installed scTIGER using the installation instructions in our README.md file, you can get this by typing conda list -n scTIGER.

Some of the packages may have been updated. We provide the version for each package on our installation in the prerequisites section of our README.md file. If you specify each package to match the version we are using, it should run without error.

@chenyongrowan chenyongrowan added documentation Improvements or additions to documentation question Further information is requested labels Apr 29, 2024
@utkarsh027
Copy link
Author

utkarsh027 commented Apr 29, 2024 via email

@utkarsh027
Copy link
Author

utkarsh027 commented Apr 29, 2024 via email

@chenyongrowan
Copy link
Owner

I see what happened. Pytorch released new versions and it is forcing certain packages to update which becomes incompatible with Bambi. I was just able to install scTIGER on my CPU processing machine with the following commands:

conda create -n scTIGER python=3.9.2
conda activate scTIGER
conda install pytorch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 cpuonly==2.0 conda-forge::fsspec -c pytorch
pip install pandas==1.4.3 matplotlib==3.8.2 networkx==3.1 argparse==1.4.0 scipy==1.11.4 scanpy==1.9.6 leidenalg==0.10.1 bambi==0.9.0 arviz==0.16.1 pyarrow numba==0.56.4
export MKL_THREADING_LAYER=GNU
conda install numpy==1.22.0

The below file has the commands as shown above and the packages that resulted from that installation.
scTIGER_PackageVersionsALL.txt

Please let me know if the dependency issue still appears on your end.

@utkarsh027
Copy link
Author

utkarsh027 commented Apr 30, 2024 via email

@chenyongrowan
Copy link
Owner

Can you please provide the error message you are seeing? I don't see anything attached to the last comment. It would be most helpful to have the commands and output you are getting from the command line. You can type "script" in the command line before running the above commands and it will provide a text file with this information that I can review.

@utkarsh027
Copy link
Author

utkarsh027 commented Apr 30, 2024 via email

@chenyongrowan
Copy link
Owner

I cannot see the screenshot in your reply on the thread. It may be that email attachments do not appear with the responses when replying via email. Can you please attach the screenshot and script to a response directly in the thread for documentation of the issue for others who may be experiencing a similar issue? Thank you!

@utkarsh027
Copy link
Author

utkarsh027 commented Apr 30, 2024 via email

@chenyongrowan
Copy link
Owner

Hi! Yes, that is a numpy issue. Can you try conda update numpy in your scTIGER environment?

I am currently working on setting up scTIGER as an Anaconda package, but may need a week or two to get everything set up correctly. Once that is complete, it should be much easier to download the package. Thanks for your patience as I work through this!

@utkarsh027
Copy link
Author

utkarsh027 commented May 6, 2024 via email

@chenyongrowan
Copy link
Owner

I am not sure why it is giving a compatibility issue, I can't recreate the error on my end.

I have uploaded a very basic conda package to help set the package dependencies correctly. I updated our installation instructions to reflect this. I have not had a chance to test it on a CUDA capable machine yet, but it does work on CPU processing systems. I will test it on a CUDA capable machine later this week.

Can you try the following and let me know if you are able to successfully install?

conda create -n scTIGER 
conda activate scTIGER
conda install pytorch==2.1.2 torchvision torchaudio cpuonly==2.0 -c pytorch
conda install madison.dautle::sctiger

@utkarsh027
Copy link
Author

utkarsh027 commented May 7, 2024 via email

@chenyongrowan
Copy link
Owner

Hi! Due to the new package installation instructions and list of package dependencies from our operational installation of the package, we are going to resolve this issue. We hope you were able to install scTIGER!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants