Is there a debian package for the python module PyGLM?
I am trying to build a software in Launchpad, but I get the error
ModuleNotFoundError: No module named 'glm'
I found https://pypi.org/project/PyGLM/ but I could not find any package titled python3-pyglm
in https://packages.ubuntu.com/.
Is this package available under some other name? Note that installing from pip is not an option while building in Launchpad.
With some research I see the following. ArchLinux AUR has PKGBUILD for Plots which mentions python-pyglm.
So possible way to get newest Plots compiled is to create deb-package for PyGLM library first by:
sudo apt-get update
sudo apt-get install devscripts debhelper python3-all-dev python3-setuptools dh-python
cd ~/Downloads
git clone https://github.com/N0rbert/PyGLM.git
cd PyGLM
debuild -b -uc -us
sudo apt-get install ../python3-pyglm_2.3.1_amd64.deb
Alternatively, you an also use a PPA for python3-pyglm
. This PPA can also be used as a dependency of other projects which require this package.
and then compile Plots on Ubuntu 20.04 LTS as follows:
sudo apt-get update
sudo apt-get install devscripts debhelper python3-all-dev python3-setuptools dh-python python3-opengl libglib2.0-dev gobject-introspection python3-jinja2 python3-numpy python3-lark python3-pytest python3-freetype
cd ~/Downloads
git clone https://github.com/apandada1/Plots
cd Plots
debuild -b -uc -us
sudo apt-get install ../plots_0.5.1_all.deb
What is interesting - the original 0.5.1 from Jan 28 compiles normally on Ubuntu 20.04 LTS and 21.04 by
sudo apt-get update
sudo apt-get install devscripts debhelper python3-all-dev python3-setuptools dh-python python3-opengl libglib2.0-dev gobject-introspection python3-jinja2 python3-numpy python3-lark python3-pytest
cd ~/Downloads
wget https://github.com/alexhuntley/Plots/archive/v0.5.1.tar.gz
tar -xf v0.5.1.tar.gz
cd Plots-0.5.1/
debuild -b -uc -us
as it does not depend on PyGLM.