I am new to Python. For analyzing the single-cell multiomics datasets, I have purchased Google Colab Pro. Because the dataset is large, the model requires GPU and conda environment for the analysis. I have installed the miniconda by using the following command,
!wget -c https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
!chmod +x Miniconda3-latest-Linux-x86_64.sh
!bash ./Miniconda3-latest-Linux-x86_64.sh -b -f -p /usr/local
Except Python 3.8.1 I couldn't install the other dependencies in the conda environment. I have used the following code to install python,
!conda create -n scMDC python=3.8.1 --solver classic -y
The other dependencies are:
Python 3.8.1
Pytorch 1.6.0
Scanpy 1.6.0
SKlearn 0.22.1
Numpy 1.18.1
h5py 2.9.0
I have tried the following code for running the other dependencies, but the code returned the error messages.
!conda install -n scMDC -c conda-forge pytorch==1.6.0 scanpy==1.6.0 scikit-learn==0.22.1 numpy==1.18.1 h5py==2.9.0 --solver classic -y
The model which I am trying to run is scMDC (https://github.com/xianglin226/scMDC).
Google colab pro providing only 100 computing units. But everytime I am wasting the computing units, just by running the wrong codes again and again. So kindly provide your suggestions to solve this matter.
Thank you @michael. The court that you provided was running and all the modules were installed in the local runtime only. But after installing, I have tried the following code to check the version,
But I am getting error. So, kindly suggest me how to check whether all the modules are installed properly in the respective version only.
Thank you so much. I tried the following code, it was working.
Great! Now, let's hope that scMDC doesn't stumble over the unavoidable version differences. You need to do a test round with the application to be sure.