Skip to content

Commit 85c3795

Browse files
committedSep 8, 2024··
Update setup_ubuntu
1 parent 0bd1eb2 commit 85c3795

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎scripts/setup_ubuntu

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ export PYTHONPATH="/opt/drake/lib/python$(python3 -c 'import sys; print("{0}.{1}
3333

3434
locale-gen en_US.UTF-8
3535

36-
# Install nanobind globally
37-
python3 -m pip install nanobind
36+
# Install nanobind in a virtual environment
37+
python3 -m venv .venv
38+
source .venv/bin/activate
39+
pip3 install nanobind

0 commit comments

Comments
 (0)
Please sign in to comment.