Skip to content

Unable to prepare environment #443

@jaggi01

Description

@jaggi01

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....!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions