Spaces:
Sleeping
Sleeping
File size: 802 Bytes
4ae0554 2308ea9 39f539c 4ae0554 39f539c 4ae0554 c9e7c12 ccef849 bde6e5b f137d02 61db30c 23439ba f8b0acb 23439ba f8b0acb 39f539c 04670aa 39f539c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
#!/bin/bash
# Step 1: Install Miniconda in your user's home directory
# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
# bash miniconda.sh -b -p ~/miniconda # Install in your home directory
# # Step 2: Initialize Miniconda
# source ~/miniconda/etc/profile.d/conda.sh
# conda init bash
# Step 3: Change to the desired directory and make install.sh executable, then run it
git clone https://github.com/StanfordMIMI/Comp2Comp.git /home/user/app/C2C
cd /home/user/app/C2C
pip install -e .
# cd /home/user/app/C2C
# chmod +x bin/C2C
# # conda init bash
# # conda activate c2c_env
# ./bin/C2C aaa -i temp_dicom_dir
# ls
# chmod +x bin/install.sh # Make install.sh executable
# ./bin/install.sh # Execute the installation script
# conda activate c2c_env
|