I have a YML file for a Conda environment that runs with Python 3.8.15 (environment.yml
). I am currently trying to load that file into my Google Colab, based on this answer:
conda environment in google colab [google-colaboratory].
!wget -c https://repo.anaconda.com/archive/Anaconda3-2022.10-Windows-x86_64.exe
!chmod +x Anaconda3-2022.10-Windows-x86_64.exe
!bash ./Anaconda3-2022.10-Windows-x86_64.exe -b -f -p /usr/local
And while the executable file for Anaconda was installed in my Google Drive folder, when I run the code, it turms out that Colab could not execute that file:
./Anaconda3-2022.10-Windows-x86_64.exe: ./Anaconda3-2022.10-Windows-x86_64.exe: cannot execute binary file
Is there any other method that I could use to install Anaconda to work with it in Google Colab? And furthermore, how should I load my environment.yml
file after getting Anaconda to run in Colab?