geoviews: Conda Install Fails

conda install -c pyviz geoviews currently fails to Solve Environment inside a clean anaconda container launched with sudo docker run -it continuumio/anaconda3.

I’ve tried the pyviz channel, the default channel, and the conda-forge channel with the same results.

Conda suggests that the problem has to do with conflicts and that it is looking for incompatibilities, but it has been running since yesterday and only reports 90% progress. I’ll update this post if it completes.

Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Examining conflict for ...

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 2
  • Comments: 47 (32 by maintainers)

Most upvoted comments

Yeah, a new conda version came out last month. I also didn’t have success with conda install -c pyviz geoviews but I did have success with:

conda update --all
conda install -c pyviz -c conda-forge geoviews

Honestly, as far as I can tell the geo-dependencies on conda defaults are pretty broken right now. So best thing I can suggest is to install from conda-forge with conda install -c conda-forge geoviews or you could try only installing the core dependencies with conda install geoviews-core.

I have seen issues with geo-dependencies, most typically when mixing defaults and conda-forge channels in an environment. It might be worth trying to create a fresh environment based primarily on the conda-forge channel, with something like: conda create -n geo -c conda-forge geoviews Also, maintaining consistency with channel priority for new packages added to an environment helps reduce the painful issues you might otherwise encounter, so unless conda-forge is specifically added as a higher priority channel than defaults in the conda config, it is best to specify using the conda-forge channel for any new dependencies added.

I have tried with Conda and Python 3.6, 3.7, 3.8, and 3.9. It always fails… I only managed to install it using Poetry and fiddling a lot with the versions of the packages. And as soon as new dependencies are added, the project becomes unmanageable…

Python 3.9 is still very new and I imagine half the geo-stack is not yet available. I’d stick with Python 3.7 or 3.8 for the time being.

Yes, I’m using 4.9.2 (2020.11). Any word on an update to Geoviews for compatibility with the latest Anaconda versions?