Open JohannesWiesner opened 2 years ago
I guess a solution can be found here:
https://stackoverflow.com/questions/34534513/calling-conda-source-activate-from-bash-script
Note, that this might not solve the "Windows-Problem" but at least allows to execute the scripts on Linux?
install_cran_packages.sh
should activate the conda environment and then install CRAN-packages in it (in one go). I created the bash-scripts install_pip_packages.sh and install_cran_packages.sh to be able to install pip and cran packages AFTER the environment was created. But the lineconda activate csp_surname_name
does not work from within a bash-script (https://stackoverflow.com/questions/47246350/conda-activate-not-working).Besides, the scripts should also work as Windows-Shell-Scripts, because bash is not working on windows (maybe if the bash-scripts are executed from Git Bash? But then we have to tell Git Bash how to activate conda)