Skip to content

Installation

mlpyqtgraph is a python package which is available on the Python Package Index (PyPi). You can install it just like any other python package using pip:

pip install mlpyqtgraph

Alternatively, you can install mlpyqtgraph directly from source. To do this, first clone the package from GitHub using git:

git clone https://github.com/swvanbuuren/mlpyqtgraph.git

It is recommended to install the mlpyqtgraph package into a virtual enviroment, e.g. venv. Refer to its refence documentation for more details on its creation and usage.

After the virtual environment has been created and activated, install the mlpyqtgraph package using e.g. pip:

pip install /path/to/mlpyqtgraph

Now, mpyqtgraph can be used whenever the appropriate virtual environment has been activated e.g., by trying the minimal example:

python examples/minimal.py

Info

If you receive an error message similar to the following:

Could not load the Qt platform plugin "xcb" in "" even though it was found."

Then, you might need to install additional dependencies. On a Debian-based system, this is accomplished with:

sudo apt install -y libxcb-cursor-dev