Skip to content

Fix setup-cocotb-env to use venv-cocotb Python interpreter#98

Open
jdicorpo wants to merge 1 commit intomainfrom
fix/setup-cocotb-python-path
Open

Fix setup-cocotb-env to use venv-cocotb Python interpreter#98
jdicorpo wants to merge 1 commit intomainfrom
fix/setup-cocotb-python-path

Conversation

@jdicorpo
Copy link
Copy Markdown
Contributor

@jdicorpo jdicorpo commented Dec 3, 2025

The setup-cocotb.py script requires the click module which is installed in venv-cocotb. Using system python3 causes ModuleNotFoundError.

Changed from:
python3 /verilog/dv/setup-cocotb.py ...

To:
/venv-cocotb/bin/python3 /verilog/dv/setup-cocotb.py ...

This ensures the script uses the correct Python interpreter with all required dependencies installed.

The setup-cocotb.py script requires the click module which is installed
in venv-cocotb. Using system python3 causes ModuleNotFoundError.

Changed from:
  python3 /verilog/dv/setup-cocotb.py ...

To:
  /venv-cocotb/bin/python3 /verilog/dv/setup-cocotb.py ...

This ensures the script uses the correct Python interpreter with all
required dependencies installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants