Skip to content

Conda environment creation #1

@sanchitsabhlok

Description

@sanchitsabhlok

Working through the reference notebook, it takes a long time to create the conda environment with the given command, in addition to the fact that not all packages are available on conda -

conda create -n euclid_env python=3.11 s3fs numpy astropy>=5.3 matplotlib astroquery>=0.4.10 sep>=1.4 fsspec jupyterlab notebook

This gives the following error -

Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - sep=1.4*
  - astroquery=0.4.10*

Suggested fix that really speeds up the process is to change the >= requirements to = and add conda-forge channel -

conda config --add channels conda-forge
conda create -n euclid_env python=3.11 s3fs numpy astropy=5.3 matplotlib astroquery=0.4.10 sep=1.4 fsspec jupyterlab notebook

This command worked for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions