Closed tdene closed 6 months ago
The prepare.sh file has the same issue.
Hi @tdene maybe you could modify the code and hard code the path to your python executable. You can localize your desired version by which python
and change the code block to
p = subprocess.run(
["<your_python_executable>", "scripts/generate_test_data.py"], capture_output=True
)
In this code-block of minimal_example.py, it is assumed that the "python" executable on the system will point to "python3".
This is often not the case.
The output of the subprocess run should be inspected for errors, and a try-catch should automatically attempt to re-execute the subprocess with "python3" instead of "python".