3 ms·
I like pyenv and install it on various servers, sometimes for the latest version of python 3.xx, sometimes for 2.7, without depending on the version the OS prov
by vanous 4y ago
I like pyenv and install it on various servers, sometimes for the latest version of python 3.xx, sometimes for 2.7, without depending on the version the OS provides.
To run it from cronjob and other places where environment is harder to define, the following can be used:
0 2 * * * /home/user/.pyenv/shims/python /home/user/bin/script.py