-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
Steps to reproduce:
> pyperformance run --python="C:\User\GitHub\cpython\PCbuild\amd64\python.exe"
Creating the virtual environment venv\cpython3.10-3bfab7affa2d
...
... <installing packages>
...
INFO:root:Running `C:\User\GitHub\cpython\PCbuild\amd64\python.exe -u D:\User\Downloads\python\venv\cpython3.10-3bfab7affa2d\Lib\site-packages\pyperformance\benchmarks\bm_xml_etree.py --output C:\Users\User\AppData\Local\Temp\tmpo_57rqul`
Traceback (most recent call last):
File "D:\User\Downloads\python\venv\cpython3.10-3bfab7affa2d\Lib\site-packages\pyperformance\benchmarks\bm_xml_etree.py", line 17, in <module>
import pyperf
ModuleNotFoundError: No module named 'pyperf'
ERROR: Benchmark xml_etree failed: Benchmark died
Traceback ...
RuntimeError: Benchmark died
For some reason, pyperformance runs the benchmark by calling C:\User\GitHub\cpython\PCbuild\amd64\python.exe
. I think it should be calling the venv's python (venv\cpython3.10-3bfab7affa2d\Scripts\python.exe
) instead.
Metadata
Metadata
Assignees
Labels
No labels