ihesp / IPART

Image-Process based Atmospheric River Tracking (IPART) algorithms
https://ipart.readthedocs.io/en/latest/
GNU General Public License v3.0
24 stars 8 forks source link

CDAT install #2

Open khouakhi opened 4 years ago

khouakhi commented 4 years ago

I couldn't correctly install CDAT modules. Any advice on how you did that? I share a colab notebook with what I have tried with the conda list showing that cdms2 and cdutil but can't import them.

https://colab.research.google.com/drive/1wQhTRY0yY327eat9VB2HkPQIWeOxPUGm?usp=sharing

Xunius commented 4 years ago

Hi @khouakhi I saw your post at https://github.com/CDAT/cdat/issues/2253. I never used colab notebook myself before, I tried a few different ways using the link you shared and got the same error as you posted. Is it possible to create and activate a separate conda environment using colab? I found a couple relevant stackoverflow posts:

khouakhi commented 4 years ago

@Xunius Thanks for that. Creating and activating a conda environement from colab should be: !conda create -n myenv python=3.7 !source activate myenv I think I have tried, but it didnt activate the created env. Some interesting discussions here https://stackoverflow.com/questions/20081338/how-to-activate-an-anaconda-environment