-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Description
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:
- python3 -m venv
m_pyghidra-venv - source my_pyghidra-venv/bin/activate
- python3 -m pip install 'jpype1==1.5.2' # uses internet
- python3 -m pip install --no-index -f ./Ghidra/Features/PyGhidra/build/pypkg/dist pyghidra
- ./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