Command not found after using cache / caching dependencies

Hi!

While after reading this --> Caching installed Python packages
I was able to speed up python dependencies installation from about 25 seconds to almost 0 now I am getting this error:

/bin/bash: line 1: robot: command not found
Exited with code 127

All I have changed was actually adding site-packages to paths

paths:
            - ~/.cache/pip
            - /opt/circleci/.pyenv/versions/3.7.0/lib/python3.7/site-packages

The caching step seem to have work properly as you can see here

but for some reason robot seems not to be on PATH any more.

Any ideas how to fix this?

1 Like