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

Creating conda environment as described in the contributing guidelines gives ResolvePackageNotFound error #3549

Closed
r-beer opened this issue Nov 20, 2019 · 2 comments · Fixed by #3551

Comments

@r-beer
Copy link

r-beer commented Nov 20, 2019

MCVE Code Sample

Following the contributing to xarray guidelines I tried to create the xarray-test environment as follows:

# Create and activate the build environment
conda env create -f ci/requirements/py36.yml

Expected Output

Creates conda environment, such that conda activate xarray-tests can be used to activate it.

Problem Description

The creation of the conda environment fails, indicating ResolvePackageNotFound error:

Collecting package metadata: done
Solving environment: failed

ResolvePackageNotFound:
  - pynio
  - cdms2

After some searching I tried to first create the conda environment and subsequently updating it

conda env update -f ci/requirements/py36.yml

but this resulted in the same error:

Collecting package metadata: done
Solving environment: failed

ResolvePackageNotFound:
  - pynio
  - cdms2

Output of xr.show_versions()

Doesn't make sense for this issue, does it?

@crusaderky
Copy link
Contributor

Those packages don't exist on Windows. You need to use py37-windows.yml instead. I'll update the documentation to clarify.

@r-beer
Copy link
Author

r-beer commented Nov 20, 2019

Thanks for the fast response @crusaderky!

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

Successfully merging a pull request may close this issue.

2 participants