Support Forum

Python package missing with Ubuntu 22.04

Nige

Wednesday 27th April 2022
When I try to install layout_20220423_Ubuntu_22.04_amd64.deb I get an error that python is missing, however python2, also 3.10, 3.8 and 3.9 are there. on my system there is no "python" path, and I can't seem to find a solution
Jürgen
LayoutEditorFull
Wednesday 27th April 2022
Please correct me if I understood you wrong. You have tried to install LayoutEditor with a command like ```apt install /path/to/package/layout_20220423_Ubuntu_22.04_amd64.deb``` and got an error message about a missing *python* package. In that case please try to run ``apt install python`. This may have effect even if *python2* or *python3* is installed, but a package with the name *python* is missing. This is usually on Ubuntu just a placeholder for the default python installation. if that does not help, please try ```apt install /path/to/package/layout_20220423_Ubuntu_22.04_amd64.deb python- ```. The - sign make the package installer to ignore the *python* package. The *python* dependency is optional and only required for scripting in Python. If both does not help, please print the full error message. I will try to reproduced it on our system.
Nige

Wednesday 27th April 2022
With Ubuntu 22.04 'sudo apt install python' gives me: > Package python is not available, but is referred to by another package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > However the following packages replace it: > python2-minimal:i386 python2:i386 python2-minimal python2 dh-python 2to3 > python-is-python3 > > E: Package 'python' has no installation candidate Trying to install I get: > sudo dpkg -i layout_20220423_Ubuntu_22.04_amd64.debSelecting previously unselected package layout. > (Reading database ... 216112 files and directories currently installed.) > Preparing to unpack layout_20220423_Ubuntu_22.04_amd64.deb ... > Unpacking layout (20220423-20220423) ... > dpkg: dependency problems prevent configuration of layout: > layout depends on python; however: > Package python is not installed. > > > > dpkg: error processing package layout (--install): > dependency problems - leaving unconfigured > Errors were encountered while processing: > layout apt install doesn't help
Jürgen
LayoutEditorFull
Thursday 28th April 2022
That is interesting. Our Ubuntu 22.04 system will not give that error. Nevertheless, we have adjusted dependences in the Ubuntu22.04 package. The filename and release date is the same. Just the file size has change to 126469556 (6 bytes more). Please let me know if a fresh downloaded package still have the problem.
Nige

Thursday 28th April 2022
Hi Jürgen yes that worked, i also had to add 'sudo apt install libqt5opengl5' to get it to run but all good now thank you Worth a mention, It install on Windows 11 fine :)