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

Unable to prepare environment #443

Open
jaggi01 opened this issue Feb 19, 2022 · 0 comments
Open

Unable to prepare environment #443

jaggi01 opened this issue Feb 19, 2022 · 0 comments

Comments

@jaggi01
Copy link

jaggi01 commented Feb 19, 2022

I am using ubantu on windows 10 with the help of virtualbox.
I tried to install cdms using following command:

!conda create -n cdms -y -c cdat/label/nightly -c conda-forge cdms2 libnetcdf==4.6.2
!conda activate cdms

But conda couldn't activate cdms.
I tried to prepare environment by following code:

from future import print_function
import cdat_info
import os, sys

data_path = cdat_info.get_sampledata_path()

version="python"+sys.version[0:3]
cdat_info.download_sample_data_files(os.path.join(sys.prefix,"lib",version,"site-packages","share","cdms2","test_data_files.txt"),data_path)

But it is showing runtime error :
Invalid file type for list of files: /home/jagjeet/anaconda3/lib/python3.9/site-packages/share/cdms2/test_data_files.txt.
Where I am doing wrong.
Need some help regarding this....!

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

1 participant