Skip to content

Commit

Permalink
Hardcode python version to 3.6 in setup_drake_colab (RobotLocomotion#…
Browse files Browse the repository at this point in the history
…14693)

Google Colab changed their default version to 3.7.
  • Loading branch information
jamiesnape authored Feb 23, 2021
1 parent d475627 commit d1a3cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install/colab/setup_drake_colab.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setup_drake(*, version, build='nightly'):

# Check for conflicting pydrake installations.
v = sys.version_info
path = f"/opt/drake/lib/python{v.major}.{v.minor}/site-packages"
path = f"/opt/drake/lib/python3.6/site-packages"
spec = importlib.util.find_spec('pydrake')
if spec is not None and path not in spec.origin:
raise Exception("Found a conflicting version of pydrake on your "
Expand Down

0 comments on commit d1a3cec

Please sign in to comment.