RussTedrake / manipulation

Course notes for MIT manipulation class
BSD 3-Clause "New" or "Revised" License
407 stars 119 forks source link

from pydrake.geometry import RenderLabel #233

Closed buoyancy99 closed 1 year ago

buoyancy99 commented 1 year ago

I am installing the repo and drake nightly with

pip install -U https://drake-packages.csail.mit.edu/drake/nightly/drake-latest-cp310-cp310-manylinux_2_31_x86_64.whl
pip install git+https://github.com/RussTedrake/manipulation@master

Then if we do from manipulation import running_as_notebook, an error would rise with ImportError: cannot import name 'RenderLabel' from 'pydrake.geometry'

I am wondering if we shall change this line to from pydrake.geometry.render import RenderLabel

RussTedrake commented 1 year ago

I assume you realized you needed to update drake?