regro / conda-metachannel

like a conda-metapackage but for channels!
MIT License
69 stars 4 forks source link

Conda create does not find dependencies #22

Closed quartox closed 5 years ago

quartox commented 5 years ago

I am using a corporate mirror of the hosted metachannel, so if you can't reproduce then I need to deal with IT on my end.

I am just trying to create a conda environment with python and it is unable to find pip and libcxx. Adding pip to the channel url then says it can't find wheel. I looked at the repodata.json and confirmed that it isn't there.

Example:

$ conda create --name test-meta --override-channels -c https://metachannel.conda-forge.org/conda-forge/python python=3.6

Error:

Collecting package metadata: done
Solving environment: failed

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

  - python=3.6 -> libcxx[version='>=4.0.1']
  - python=3.6 -> pip

Current channels:

  - https://metachannel.conda-forge.org/conda-forge/python/osx-64
  - https://metachannel.conda-forge.org/conda-forge/python/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
mariusvniekerk commented 5 years ago

You may need to add pip as well to the packages required

quartox commented 5 years ago

I tried adding pip and it could not find wheel.

quartox commented 5 years ago

Everything works fine with I use it for conda install commands but it doesn't find dependencies when I use conda create. Again, this may be an corporate mirror issue and not a problem at all for the outside, but I don't have an easy time testing because my laptop is locked down (though I will try again tonight to see if I can get around that). If no one can reproduce than we should close this.

quartox commented 5 years ago

I was able to re-produce using the official url. conda create fails to find package dependencies, whereas conda install succeeds.

Might be intended and just something worth mentioning in README?

mariusvniekerk commented 5 years ago

@quartox I've fixed this in #24

quartox commented 5 years ago

It's working for me, thanks!