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

cannot install using environment.yml #34

Open
alxndrkalinin opened this issue Nov 23, 2022 · 5 comments
Open

cannot install using environment.yml #34

alxndrkalinin opened this issue Nov 23, 2022 · 5 comments

Comments

@alxndrkalinin
Copy link
Member

Running conda env create -f environment.yml returns PackageNotFound for dvc and dvc-s3.
If those are moved to the pip section, it complains about not finding s_gd2 that is used by phate.

Seems like it's Apple Silicon-related issues and environment.yml should be updated to address them and fix installation.

@alxndrkalinin
Copy link
Member Author

alxndrkalinin commented Dec 8, 2022

Turns out some packages do not have conda binaries compiled for Apple Silicon. This can be fixed by installing them via pip: 8c42242

However, there are issues with installing packages for perturbseq preprocessing from perturbseq_processing_environment.yml
Specifically, bioconductor-biostrings and r-seurat also do not have apple silicon binaries. Installing everything else and trying to install these two directly from inside R fails as there are issues with compiling the source code.

@alxndrkalinin
Copy link
Member Author

alxndrkalinin commented Dec 8, 2022

I managed to install from perturbseq_processing_environment.yml by:

install.packages('sctransform')
install.packages('Seurat')

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("Biostrings")

@alxndrkalinin
Copy link
Member Author

Bumped dependency versions for creating figure environment. Commented it out r-magick, because it does not currently have osx-arm64 binaries and was only used to read a pre-made figure panel.

@mfansler
Copy link

We now have r-seurat building for osx-arm64 on Conda Forge. But bioconductor-biostrings is a different story, since those are built by Bioconda, which has not yet set up CI for osx-arm64 builds.

@alxndrkalinin
Copy link
Member Author

Thanks for letting us know @mfansler! I just tested it and it works perfectly. Turns out, we were not using bioconductor-biostrings, so everything installs fine through conda now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants