Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
set -eox pipefail
#echo "#!/usr/bin/env python
#import sys, os
#print(sys.path)
#dist_package_index = sys.path.index('/usr/local/lib/python3.6/dist-packages')
#print(dist_package_index)
#sys.path = sys.path[:dist_package_index] + ['/usr/local/lib/python3.6/site-packages'] + sys.path[dist_package_index:]
#sys.path.append('/usr/local/lib/python3.6/site-packages/')
#print(sys.path)
#exec(open('rapidsai-csp-utils/colab/update_modules.py').read(), globals())
#print(sys.path)" >> conda_path.py
python -c "import sys; print(sys.path)"
echo "/usr/local/lib/python3.6/dist-packages" >> /usr/local/lib/python3.6/dist-packages/filepath1.pth
python -c "import sys; print(sys.path)"
echo "/usr/local/lib/python3.6/site-packages" >> /usr/local/lib/python3.6/dist-packages/filepath2.pth
python -c "import sys; print(sys.path)"
python -c "exec(open('rapidsai-csp-utils/colab/update_modules.py').read(), globals())"
python -c "import sys; print(sys.path)"
#python conda_path.py
nvcc --version
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --add channels nvidia
conda config --add channels rapidsai
conda install -y dask-cuda dask-cudf cuml cugraph numba=0.48* scipy ucx-py ucx-proc=*=gpu scikit-learn louvain scanpy umap-learn pip
#r-seurat r-reticulate
pip install jupyter-server-proxy
pip install git+https://github.com/dask/dask.git
pip install git+https://github.com/dask/distributed.git
wget -c https://raw.githubusercontent.com/clara-parabricks/rapids-single-cell-examples/master/notebooks/rapids_scanpy_funcs.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment