Eric4 and Spyder3 for Python3 programmers don't work on Mate 22.04


Has anyone been able to use Eric or Spyder applications for python3 scripts in MATE 22.04?
I was able to install them but never to start them.

I can use though IDLE and PyCharm. These seem to work OK.

Confirmed both crashes. Thanks!

On fresh Ubuntu MATE 22.04 I have installed both applications as simple as

sudo apt update
sudo apt install spyder3 eric

using only official repositories and both crash on start.

Bug for Spyder3 is at Bug #1972112 “spyder does not start in jelly because of kite ins...” : Bugs : spyder package : Ubuntu . Temporary fix is the following:

# download and apply patch locally
wget -O /tmp/return.patch

cd /usr/lib/python3/dist-packages/spyder/
sudo patch -p1 < /tmp/return.patch

and then launch Spyder as usual.

Bug for Eric is at Bug #1979559 “eric does not start on fresh installation of Jammy...” : Bugs : eric package : Ubuntu . Temporary workaround is to remove deb-packaged one and install Eric7 from PyPI instead:

# remove Eric6, add libssl1.1 PPA, install needed packages
sudo apt autopurge eric python3-pyqt6.sip
sudo add-apt-repository -y ppa:nrbrtx/libssl1
sudo apt-get install -y python3-pip libssl1.1 python3-packaging

# install Eric7 from PyPI
pip3 install --user eric-ide

# create desktop shortcut (copy and paste all below code block at once)
mkdir -p ~/.local/share/applications
cat <<EOF > ~/.local/share/applications/eric7.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]

then logout and login back (or reboot) to run eric7 from terminal or use its Eric7 icon.

Really it is unbelievable to have two popular Python IDEs broken on the 22.04 LTS which is released and supported for next 5-10 years. OMG.

Thanks Norbert_x,
Your solutions worked both for Eric and Spyder

1 Like