ionelmc / pytest-benchmark

py.test fixture for benchmarking code
BSD 2-Clause "Simplified" License
1.24k stars 119 forks source link

Error on compare #173

Closed mnicely closed 4 years ago

mnicely commented 4 years ago

Running pytest 5.4.2 pytest-benchmark 3.2.3

I'm getting the following error on pytest-benchmark compare 0001 0002

/home/belt/anaconda3/envs/cusignal/bin/pytest-benchmark: 2: exec: /home/conda/feedstock_root/build_artifacts/pytest-benchmark_1585050181913/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/bin/python: not found
ionelmc commented 4 years ago

Looks like your installation is broken, either reinstall pytest-benchmark or recreate the whole env - looks like the bin is broken.

PS. Workaround: python $(which pytest-benchmark) compare 0001 0002

mnicely commented 4 years ago

I was able to fix it by reverting to v3.2.2.

ionelmc commented 4 years ago

Can't be. CLI didn't change from 3.2.2 to 3.2.3. Upgrade it to 3.2.3 or reinstall. Pretty sure it will work after that.