Closed RobotLearner2022 closed 1 year ago
Sorry, I just noticed that there was an earlier bug on the same problem. Downgrading bokeh to 2.4.2 solved the problem. However, I hope the nuplan code can be updated too. Thank you!
Hi @RobotLearner2022,
Good to see that you found a fix for it. We will look to pin the version if possible.
Describe the bug
While running the notebook tutorials, such as nuplan_scenario_visualization.ipynb, I met the error as follows: ModuleNotFoundError: No module named 'bokeh.plotting.figure'
I think this was caused by the changed API in bokeh (my installed version is 3.0.2). I manually replaced all the instances of "from bokeh.plotting.figure import Figure" in various python files to "from bokeh.plotting import figure" and replaced the class references from "Figure" to "figure". Then this error was not seen. It should be an easy fix at your side. Thank you!
Setup
I pulled the latest github version and used miniconda to set up the virtual environment correctly.
Steps To Reproduce
Steps to reproduce the behavior:
jupyter notebook nuplan_scenario_visualization.ipynb
Stack Trace