Just a suggestion about the install instructions in the First Steps guide. The guide is excellent, but when trying to follow it I ran into a difference between Bokeh version 3.0.1 and the Anaconda version 2.4.3. I spent too many hours this morning trying different update approaches from support sites like Stack Overflow to no avail. That is, until I put two separate suggestions together to create a new environment after adding the bokeh channel and making that channel the priority. Without doing that, Anaconda appears to fail to update the default environment bokeh package past 2.4.3.
So my suggestion is to update the First Steps guide to walk through this process:
Add the bokeh channel
Set channel priority to strict
Edit the channel config file to reorder the channels to place bokeh on top
Create a new environment
Activate the new environment
Add the bokeh package to the environment
Then conda appears to install bokeh version 3.0.1.
Hi @907sjl thank you for sharing your experience and the suggestion. Personally, however, I think I am not inclined to make those changes. Major releases like 3.0 are very rare (there have only been three in ~12 years!) So I would hate to take very simple instructions that will work 99% of the time, and make them substantially more complicated just for the 1% of time when when things are still settling after a major release. (AFAIK Bokeh 3.0.1 will be available on Anaconda defaults very soon, but ultimately we do not control their schedule.)
is there some other page you are referring to that doesn’t mention using -c bokeh to get the latest version? Or are you saying conda install -c bokeh was not sufficient? If so, I think there is something specific going on with your envs, since that has always been sufficient AFAICT.
The easiest way to install Bokeh is to use conda . Conda is part of the Anaconda Python Distribution, which is designed with scientific and data analysis applications like Bokeh in mind.
I think we can be more neutral here, and even start positioning pip install instructions first, since the only “standard” package repository publish we completely control and can guarantee will be available immediately, is PyPI (and also since it is generally fine to pip install Bokeh into conda envs).
Unfortunately, no. I did the due diligence and tried that but the default Anaconda environment remained stubbornly linked to bokeh version 2.4.3. Only the steps that I outlined allowed the update to resolve an install sequence for version 3.0.1. Mind you, I just installed Anaconda on this computer today.