Installation and Upgradeļ
Installing the library is quite simple. Either clone the GitLab repository or download the source code or use pip to do everything for you:
Installationļ
From PyPI:
pip install veeam-em
From source via HTTPS or SSH:
git clone https://gitlab-ee.eis.utoronto.ca/eis/veeam/veeam-em
cd veeam-em
python setup.py install
Note
To be able to fetch from gitlab-ee.eis.utoronto.ca via SSH, first make sure to add your client accountās SSH pub key in gitlabās āSettings > SSH Keysā.
git clone git@gitlab-ee.eis.utoronto.ca:eis/veeam/veeam-em.git
cd veeam-em
python setup.py install
macOSļ
You can use pip directly to install PyVSS. Run pip āversion to see if your version of macOS already includes Python and pip.
pip --version
Note
If you donāt have pip installed, first download and install Python 3.7 for Mac from the downloads page of Python.org. Download and run the pip installation script provided by the Python Packaging Authority.
curl -O https://bootstrap.pypa.io/get-pip.py python3 get-pip.py --user
Use pip to install PyVSS.
pip install veeam-em --upgrade --user
Verify that the PyVSS is installed correctly.
pip freeze | grep veeam-em
Linuxļ
You can use pip directly to install PyVSS. Run pip āversion to see if your version of Linux already includes Python and pip.
pip --version
Note
If you donāt have pip installed, first download and install Python 3.7 for Linux from the downloads page of Python.org or using your preferred package manager. Download and run the pip installation script provided by the Python Packaging Authority.
curl -O https://bootstrap.pypa.io/get-pip.py python3 get-pip.py --user
Use pip to install PyVSS.
pip install veeam-em --upgrade --user
Verify that the PyVSS is installed correctly.
pip freeze | grep veeam-em
Windowsļ
Open the Command Prompt from the Start menu.
Use the following commands to verify that Python and pip are both installed correctly.
C:\Windows\System32> python --version
Python 3.7.1
C:\Windows\System32> pip --version
pip 18.1 from c:\program files\python37\lib\site-packages\pip (python 3.7)
Install PyVSS CLI using pip.
C:\Windows\System32> pip install veeam-em
Verify that PyVSS is installed correctly.
C:\Windows\System32> pip freeze | findstr veeam-em
Upgradeļ
pip install veeam-em --upgrade --user
# or
easy_install -U veeam-em