In order for this lesson to work on windows, we need two things working in the same environment:
- Python (via anaconda)
- unix shell (via GitBash)
That can be done by making Conda environment working in GitBash. I managed to get it to work by following steps below:
- Install GitBash following instructions from Software Carpentry
- Install Anaconda following instructions from Software Carpentry. Remember the path where conda is being installed.
- Open GitBash and execute the rest in the GitBash command line.
- Add
conda.sh to bash profile. This script should be located in anaconda/etc/profile.d/conda.sh. The absolute path most likely to be /c/Users/[username]/anaconda3/etc/profile.d/conda.sh where [username] is your windows account username. You can add this path to the profile by executing echo ". /c/Users/[username]/anaconda3/etc/profile.d/conda.sh" >> ~/.profile.
- then follow instructions starting with
conda env create -f environment.yml.
In order for this lesson to work on windows, we need two things working in the same environment:
That can be done by making Conda environment working in GitBash. I managed to get it to work by following steps below:
conda.shto bash profile. This script should be located inanaconda/etc/profile.d/conda.sh. The absolute path most likely to be/c/Users/[username]/anaconda3/etc/profile.d/conda.shwhere [username] is your windows account username. You can add this path to the profile by executingecho ". /c/Users/[username]/anaconda3/etc/profile.d/conda.sh" >> ~/.profile.conda env create -f environment.yml.