Failed to run python script directly: pyenv-version-name: command not found

We try to run python script directly, like:

$ gtest-parallel $TESTS


$ python3 gtest-parallel $TESTS

The command failed with error:

/opt/circleci/.pyenv/libexec/pyenv-exec: line 24: pyenv-version-name: command not found

A workaround we’re using is specify the python path:

$ /usr/bin/python gtest-parallel $TESTS

Here is our configuration:

If you update this line to
use single quotes instead of double quotes you’ll find the expected behavior

        echo 'export PATH=$HOME/gtest-parallel:$PATH' >> $BASH_ENV

See my comment here:


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.