You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Colin Webb edited this page Oct 29, 2020
·
3 revisions
This is outdated. Please use the Python3 installation instructions.
1.8.3 is the last version of servicemanager that will run on Python2.
Python
Make sure you are running Python version (v) 2.7.13 < v < 3.
For installing versions of Python, we recommend using pyenv.
Pip
Install pip and then (if you have both Python2 and Python3 installed) be sure to use the correct pip commands below by setting an alias for pip2 to pip
virtualenv
To avoid conflicts with other python packages use a virtualenv
note: you may need to source the virtualenv in each new terminal session before using servicemanager. For example you can add this to your shell profile (e.g. .zprofile or .bash_profile)
source ~/servicemanager/bin/activate
Tab-completion
From 0.0.13, servicemanager can use argcomplete to provide tab completion in bash.
In order to enable this, put the following in .bashrc or .profile in your home directory: