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)
Yeah, a new conda version came out last month. I also didn’t have success with
conda install -c pyviz geoviewsbut I did have success with: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-forgewithconda install -c conda-forge geoviewsor you could try only installing the core dependencies withconda install geoviews-core.I have seen issues with geo-dependencies, most typically when mixing
defaultsandconda-forgechannels in an environment. It might be worth trying to create a fresh environment based primarily on theconda-forgechannel, with something like:conda create -n geo -c conda-forge geoviewsAlso, maintaining consistency with channel priority for new packages added to an environment helps reduce the painful issues you might otherwise encounter, so unlessconda-forgeis specifically added as a higher priority channel thandefaultsin the conda config, it is best to specify using theconda-forgechannel 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?