Skip to content

pyghidraRun cannot find virtual environment #8791

@shamefulCake1

Description

@shamefulCake1

Describe the bug
pyghidraRun cannot find virtual environment when launched from the build directory.

Using Python command: "python3.9"
Virtual environment not found!
Run "gradle prepdev" and try again.

./gradlew prepdev does not help.

To Reproduce
Steps to reproduce the behavior:

  1. python3 -m venv m_pyghidra-venv
  2. source my_pyghidra-venv/bin/activate
  3. python3 -m pip install 'jpype1==1.5.2' # uses internet
  4. python3 -m pip install --no-index -f ./Ghidra/Features/PyGhidra/build/pypkg/dist pyghidra
  5. ./Ghidra/RuntimeScripts/Linux/support/pyghidraRun

Expected behavior
Ghidra starts

Environment (please complete the following information):

  • OS: Linux Linux laptop.lockywolf.net 6.12.16 SMP PREEMPT_DYNAMIC Wed Mar 12 07:54:09 CST 2025 x86_64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz GenuineIntel GNU/Linux + glibc-2.42
  • Java Version: 21
  • Ghidra Version: 12, dev 16350d9 (Dec 15 07:14:19 2025)
  • Ghidra Origin: git clone

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions