Installation#
Botafar library should work at least on Windows, Mac and Linux (tested on Debian/Ubuntu/Raspberry Pi OS).
On some operating systems such as Raspberry Pi OS, on you need to have libSRTP and other related network dependencies installed as well: sudo apt install libnss3 libnspr4 libsrtp2-1 -y
NOTE: every command below starts with a word
python
. You might need to replace it withpython3
(Windows WSL/Mac/Linux) orpy
(Windows) depending on your operating system and how you have Python installed.
Checking Python version#
To work with the library you should have Python version 3.7 or later installed.
If you do not have Python installed or it is too old version, you can install it from python.org. Here is a good tutorial for installing Python and Visual Studio Code on Windows 10. if you use Visual Studio Code, you can open the terminal by clicking “Terminal” and “New Terminal” from the top of the page.
You can check if you have Python installed and it’s version with the following command to the terminal:
python --version
(Remember to check also python3 --version
and py --version
if the command above fails)
Installing botafar library#
Most likely your Python came with pip package installer. Then the installation of botafar library should work with:
python -m pip install botafar --upgrade
If the command fails, check instructions on installing pip.
(Most likely simpler pip install botafar
would have worked as well as seen in the Get started guide, but the commands above specify the Python installation as well, which can help with some rare error cases)
Verify working botafar installation with:
python -m botafar --version
On some Debian based operating systems such as Raspberry Pi OS, on you need to have libSRTP and other related network dependencies installed to be installed as well: sudo apt install libnss3 libnspr4 libsrtp2-1 -y