Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDAT install #2

Open
khouakhi opened this issue Jun 23, 2020 · 2 comments
Open

CDAT install #2

khouakhi opened this issue Jun 23, 2020 · 2 comments

Comments

@khouakhi
Copy link

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
Copy link
Collaborator

Xunius commented Jun 24, 2020

Hi @khouakhi
I saw your post at CDAT/cdat#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
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants