Closed vatai closed 3 years ago
The outer loop always calls python3 and if that the (the outer) benchmarker was invoked with a different python, chances are that the two pythons have different environments (see different packages).
python3
The solution: substitute python3 with sys.argv[0]
sys.argv[0]
sys.executable should be used
sys.executable
The outer loop always calls
python3
and if that the (the outer) benchmarker was invoked with a different python, chances are that the two pythons have different environments (see different packages).The solution: substitute
python3
withsys.argv[0]