Category Archives: python

Fixing error on Debian 11: No module named py_compile

The root cause of an error is: /usr/bin/python3.9: No module named py_compile.

This will prevent python3 packages from installing as the dpkg errors out during configuration.

A more complete error example, will look something like this:


Setting up python3.9-minimal (3.9.2-1) …
/usr/bin/python3.9: can’t open file ‘/usr/lib/python3.9/py_compile.py’: [Errno
2] No such file or directory
dpkg: error processing package python3.9-minimal (–configure):
installed python3.9-minimal package post-installation script subprocess return
ed error exit status 2
Errors were encountered while processing:
python3.9-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

/usr/bin/python3.9: No module named py_compile

Regardless of the package name, missing the py_compile will give plenty of issues. Here comes an easy fix.

Continue reading

RunIT Browser advances to version 0.7 RC1

New version of RunIT Browser(Python+QT5) has been released.

I added the following functionalities to this release:

  • Numbered tabs.
  • Statusbar that shows what was last loaded and on what tab.

This release also fixes some minor stability and functionality issues.

Here is a screenshot.

0.7 RC1.

The code and further instructions can be found from the project´s GitHub page

Metapad text-editor upgrades into version 1.6

Metapad text-editor has been upgraded to version 1.6.

This is mainly a bug fix release. Style is now consistent. I also added toggle hide button for menus. This could be used to maximize writing space.

Here is a screenshot.

Metapad version 1.6.

The code along with further instructions are on Metapad´s Github page.