From 2354396d49b6e460091da1c7fb5a0141a7b18e2e Mon Sep 17 00:00:00 2001 From: Ameya Shenoy Date: Thu, 16 Aug 2018 13:04:02 +0530 Subject: [PATCH] fixed path --- bench/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/utils.py b/bench/utils.py index 276b6895..dfa7b352 100755 --- a/bench/utils.py +++ b/bench/utils.py @@ -171,7 +171,7 @@ def which(executable, raise_err = False): def setup_env(bench_path='.', python = 'python'): python = which(python, raise_err = True) - pip = os.path.join(bench_path, 'env', 'bin', 'pip') + pip = os.path.join('env', 'bin', 'pip') exec_cmd('virtualenv -q {} -p {}'.format('env', python), cwd=bench_path) exec_cmd('{} -q install --upgrade pip'.format(pip), cwd=bench_path)