Installing Krajjat
Install the toolbox
Warning
Installing the toolbox on Mac requires to first install the portaudio library. See the paragraph below.
Krajjat is a Python package in development. You can install the dev version by running the following command line:
python3 -m pip install -i https://test.pypi.org/simple/ krajjat
py -m pip install -i https://test.pypi.org/simple/ krajjat
In the future, Krajjat will be available on the main PyPi release channel. You will be able to install it using:
python3 -m pip install krajjat
py -m pip install krajjat
Special care
PyAudio and PortAudio
Krajjat uses the module PyAudio to read the audio in the display functions. On Mac, installing PyAudio requires to first install portaudio via homebrew:
brew install portaudio
Note
This command line will only work if Homebrew is installed on your Mac. Click here to install it.
FFmpeg
Saving video files using the function save_video_sequence() requires to have FFmpeg
installed on your device. However, the toolbox will likely function without any issue as long as this one function is
not used. To install FFmpeg on your system, click here.