Playonlinux is not opening
I have installed Playonlinux when i am double tapping the app it is not opening and did the uninstall and reinstallation still it is not opening. When i open the Playonlinux from terminal i got below error while python 3.10 already installed in my system.
Can someone please help me fixing the error.
Looking for python3... 3.10.10 - Traceback (most recent call last):
File "/usr/share/
import wx
ModuleNotFoundE
failed tests
Looking for python...
Looking for python2.7...
Looking for python2.6...
Looking for python2...
Please install python before trying to run this program
Thank you in advance.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Which Ubuntu release are you running and how did you install playonlinux?
What is the output of the following diagnostic commands (to be executed in a terminal window):
uname -a
lsb_release -crid
apt policy playonlinux python3 python3-wxgtk4.0
which python
which python3
Revision history for this message
|
#2 |
I am using Ubuntu 22.04 LTS and i installed through terminal (sudo apt install playonlinux)
uname -a
Linux laxmidhar-
lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
apt policy playonlinux python3 python3-wxgtk4.0
playonlinux:
Installed: 4.3.4-2
Candidate: 4.3.4-2
Version table:
*** 4.3.4-2 500
500 http://
500 http://
100 /var/lib/
python3:
Installed: 3.10.6-1~22.04
Candidate: 3.10.6-1~22.04
Version table:
*** 3.10.6-1~22.04 500
500 http://
100 /var/lib/
3.
500 http://
python3-wxgtk4.0:
Installed: 4.0.7+dfsg-13build1
Candidate: 4.0.7+dfsg-13build1
Version table:
*** 4.0.7+dfsg-13build1 500
500 http://
100 /var/lib/
which python3
/usr/local/
Revision history for this message
|
#3 |
It seems that you have two different python installations on your system.
What is the output of the commands
/usr/bin/python3.10 -VV
/usr/local/
Revision history for this message
|
#4 |
But manually i installed python 3.10.10 how there is two python i also dont kmow
/usr/bin/python3.10 -VV
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
/usr/local/
Python 3.10.10 (main, Apr 4 2023, 13:13:18) [GCC 11.3.0]
Please help me what to do next.
Thanking you for your help.
Revision history for this message
|
#5 |
You have installed the python version from Ubuntu (version 3.10.6 in /usr/bin/
I do not know why you have added another python version, but I suggest that you uninstall that foreign python version and stick to the one from the Ubuntu repositories, because that has been tested to work with playonlinux.
Revision history for this message
|
#6 |
Okay.
Can you please guide me how to uninstall that foreign python version.
Thanking you for your help.
Revision history for this message
|
#7 |
I am sorry. I do not know how you installed that python version, so I cannot provide instructions how to uninstall.
Revision history for this message
|
#8 |
I followed the python installation guide from this link- https:/
Please guide me the next step.
Thanking you for your help.
Revision history for this message
|
#9 |
1st - i runned -> sudo apt update
2nd - this command -> sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev
3rd - downloaded the Python-
4th - opend the terminal from download folder and runed the command -> tar -xf Python-
5th - change the directory to Python-3.10.10 and runned ./configure
6th - then runned this command -> sudo make altinstall
This is how i installed python 3.10.10
Please guide me the next step.
Thanking you for your help.
Revision history for this message
|
#10 |
You are running Ubuntu 22.04, so why are you following an instruction for Ubuntu 18.04 and 20.04? That does not make sense.
Maybe there is some kind of
sudo make uninstall
or
sudo make clean
to remove the program.
If that does not help, then you have to ask at the source where you got the instructions from.
Revision history for this message
|
#11 |
Actually i am new to Linux so i thought the procedure will be same and i run the below command to remove the python3 but i scared can you please have look and please guide me the next step.
sudo make uninstall python 3.10.10
[sudo] password for laxmidhar:
make: *** No rule to make target 'uninstall'. Stop.
laxmidhar@
make: *** No rule to make target 'clean'. Stop.
laxmidhar@
make: *** No rule to make target 'uninstall'. Stop.
laxmidhar@
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
apg apport-symptoms aptdaemon-data avahi-utils blt cabextract cups-pk-helper distro-info fonts-font-awesome
fonts-lato fonts-lyx gedit-common genisoimage gir1.2-
gir1.
gir1.
gir1.2-gtk-4.0 gir1.2-gtksource-4 gir1.2-gudev-1.0 gir1.2-gweather-3.0 gir1.2-ibus-1.0
gir1.
gir1.
gir1.2-soup-2.4 gir1.2-totem-1.0 gir1.2-
gir1.
gnome-
gnome-
jq libaec0 libblosc1 libboost-dev libboost1.74-dev libcdio-cdda2 libcdio-paranoia2 libclang-cpp11 libcolord-gtk1
libdmapsharin
libgpod-common libgpod4 libgsound0 libgssdp-1.2-0 libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4
libhdf5-103-1 libhpmud0 libicu-dev libimagequant0 libjq1 libjs-jquery libjs-jquery-ui libjs-sphinxdoc
libjs-underscore liblbfgsb0 libldb2 liblirc-client0 libllvm11 libmspack0 libmtp-common libmtp-runtime libmtp9
libnetplan0 libnfs13 libonig5 libopenblas-dev libopenblas-
libpython3-stdlib libpython3.10-dev libqhull-r8.0 libraqm0 librsync2 librygel-core-2.6-2 librygel-db-2.6-2
librygel-
libtbbmalloc2 libtevent0 libtk8.6 libwbclient0 libwhoopsie-
libwxbase3.0-0v5 libwxgtk3.
libxcb-
libz3-4 libz3-dev llvm-11 llvm-11-
network-
printer-
python-
python3-certifi python3-chardet python3-click python3-colorama python3-cycler python3-dateutil python3-debconf
python3-debian python3-decorator python3-defer python3-defusedxml python3-distro-info python3-distutils
python3-
python3-idna python3-
python3-lazr.uri python3-lib2to3 python3-lockfile python3-louis python3-monotonic python3-
python3-mpmath python3-natsort python3-odf python3-olefile python3-packaging python3-pexpect python3-pip
python3-
python3-pygments python3-pyparsing python3-pytest python3-requests python3-rfc3339 python3-setuptools
python3-six python3-soupsieve python3-speechd python3-sympy python3-toml python3-tz python3-urllib3
python3-wadllib python3-
samba-common sphinx-
x11-session-utils x11-xkb-utils xbitmaps xbrlapi xcvt xfonts-base xfonts-encodings xfonts-scalable xfonts-utils
xinit xinput xserver-common xserver-xephyr xserver-xorg-core xserver-
xserver-
xserver-
xserver-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libmpdec3:i386 libpython3-
policykit-1-gnome python3:i386 python3-
Suggested packages:
python3-doc:i386 python3-tk:i386 python3-venv:i386 python3.
The following packages will be REMOVED:
apport apport-gtk aptdaemon apturl apturl-common command-not-found deja-dup duplicity gdm3 gedit
gnome-
gnome-
ibus-table language-
nautilus-
python-odf-tools python3 python3-apport python3-apt python3-aptdaemon python3-
python3-bcrypt python3-bottleneck python3-brlapi python3-brotli python3-cairo python3-
python3-
python3-
python3-jinja2 python3-keyring python3-kiwisolver python3-
python3-llvmlite python3-lxml python3-lz4 python3-
python3-
python3-oauthlib python3-openpyxl python3-pandas python3-pandas-lib python3-paramiko python3-pil
python3-
python3-reportlab python3-
python3-
python3-tk python3-ufolib2 python3-
python3.10 python3.10-dev python3.10-minimal rhythmbox-
samba-common-bin samba-dsdb-modules samba-libs software-
system-
ubuntu-
ubuntu-
unattended-
usb-creator-gtk winbind wxpython-tools xorg xserver-xorg
The following NEW packages will be installed:
libmpdec3:i386 libpython3-
policykit-1-gnome python3:i386 python3-
0 upgraded, 10 newly installed, 140 to remove and 0 not upgraded.
Need to get 5,797 kB of archives.
After this operation, 532 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Fetched 5,797 kB in 19s (309 kB/s)
(Reading database ... 243129 files and directories currently installed.)
Removing apport-gtk (2.20.11-
Removing apport (2.20.11-
Removing ubuntu-desktop (1.481) ...
Removing ubuntu-
Removing gnome-control-
Removing language-
Removing nautilus-share (0.7.3-2ubuntu6) ...
Removing apturl (0.5.2ubuntu22) ...
Removing apturl-common (0.5.2ubuntu22) ...
Removing command-not-found (22.04.0) ...
Removing deja-dup (42.9-1ubuntu3) ...
Removing duplicity (0.8.21-1build1) ...
Removing gdm3 (42.0-1ubuntu7.
Removing gedit (41.0-3) ...
Removing gnome-online-
Removing update-manager (1:22.04.10) ...
Removing python3-
Removing python3-aptdaemon (1.1.1+
Removing aptdaemon (1.1.1+
Removing update-notifier (3.192.54.6) ...
Removing ubuntu-
Selecting previously unselected package policykit-1-gnome.
(Reading database ... 242064 files and directories currently installed.)
Preparing to unpack .../policykit-
Unpacking policykit-1-gnome (0.105-7ubuntu3) ...
(Reading database ... 242074 files and directories currently installed.)
Removing gnome-shell-
Removing gnome-shell-
Removing gnome-shell-
Removing xorg (1:7.7+23ubuntu2) ...
Removing playonlinux (4.3.4-2) ...
Removing nautilus-
Removing gnome-terminal (3.44.0-1ubuntu1) ...
Removing gvfs-backends (1.48.2-0ubuntu1) ...
Removing hplip (3.21.12+dfsg0-1) ...
Removing ibus-table (1.16.7-1) ...
Removing ibus (1.5.26-4) ...
Removing language-
Removing libsmbclient:amd64 (2:4.15.
Removing llvm-11-dev (1:11.1.0-6) ...
Removing llvm-11-tools (1:11.1.0-6) ...
Removing ubuntu-minimal (1.481) ...
Removing netplan.io (0.105-
dpkg: warning: while removing netplan.io, directory '/etc/netplan' not empty so not removed
Removing networkd-dispatcher (2.1-2ubuntu0.
Removing orca (42.0-1ubuntu2) ...
Removing python-odf-tools (1.4.2-1) ...
Removing python3-
Removing python3-gdbm:amd64 (3.10.6-1~22.04) ...
dpkg: gnome-shell: dependency problems, but removing anyway as you requested:
ubuntu-session depends on gnome-shell (>= 3.37.91).
network-
Package gnome-shell is to be removed.
Package policykit-1-gnome is not configured yet.
Package polkit-1-auth-agent is not installed.
Package policykit-1-gnome which provides polkit-1-auth-agent is not configured yet.
Package gnome-shell which provides polkit-1-auth-agent is to be removed.
network-
Package gnome-shell is to be removed.
Package policykit-1-gnome is not configured yet.
Package polkit-1-auth-agent is not installed.
Package policykit-1-gnome which provides polkit-1-auth-agent is not configured yet.
Package gnome-shell which provides polkit-1-auth-agent is to be removed.
Removing gnome-shell (42.5-0ubuntu1) ...
Selecting previously unselected package libpython3.
(Reading database ... 237589 files and directories currently installed.)
Preparing to unpack .../libpython3.
Unpacking libpython3.
(Reading database ... 237592 files and directories currently installed.)
Removing python3-uno (1:7.3.
Removing wxpython-tools (4.0.7+
Removing python3-wxgtk4.0 (4.0.7+
Removing python3-tables (3.7.0-2build1) ...
Removing python3-tables-lib (3.7.0-2build1) ...
Removing python3-numba (0.55.1-0ubuntu2) ...
Removing python3-pandas (1.3.5+dfsg-3) ...
Removing python3-
Removing python3-matplotlib (3.5.1-2build1) ...
Removing python3-
dpkg: python3.10: dependency problems, but removing anyway as you requested:
rhythmbox-plugins depends on python3.10.
python3.10-dev depends on python3.10 (= 3.10.6-
python3-numpy depends on python3.10:any.
python3 depends on python3.10 (>= 3.10.6-1~).
Removing python3.10 (3.10.6-
dpkg: python3-pil:amd64: dependency problems, but removing anyway as you requested:
python3-reportlab depends on python3-pil.
Removing python3-pil:amd64 (9.0.1-1ubuntu0.1) ...
dpkg: python3-scipy: dependency problems, but removing anyway as you requested:
python3-fonttools depends on python3-scipy (>= 1.7.1) | python3-munkres (>= 1.1.4); however:
Package python3-scipy is to be removed.
Package python3-munkres is not installed.
Removing python3-scipy (1.8.0-
dpkg: python3-numpy: dependency problems, but removing anyway as you requested:
python3-pythran depends on python3-numpy.
python3-numexpr depends on python3-numpy (>= 1:1.20.0).
python3-numexpr depends on python3-numpy-abi9; however:
Package python3-numpy-abi9 is not installed.
Package python3-numpy which provides python3-numpy-abi9 is to be removed.
python3-bottleneck depends on python3-numpy (>= 1:1.20.0).
python3-bottleneck depends on python3-numpy-abi9; however:
Package python3-numpy-abi9 is not installed.
Package python3-numpy which provides python3-numpy-abi9 is to be removed.
python3-numexpr depends on python3-numpy (>= 1:1.20.0).
python3-numexpr depends on python3-numpy-abi9; however:
Package python3-numpy-abi9 is not installed.
Package python3-numpy which provides python3-numpy-abi9 is to be removed.
python3-bottleneck depends on python3-numpy (>= 1:1.20.0).
python3-bottleneck depends on python3-numpy-abi9; however:
Package python3-numpy-abi9 is not installed.
Package python3-numpy which provides python3-numpy-abi9 is to be removed.
Removing python3-numpy (1:1.21.
Removing python3-pythran (0.10.0+ds2-1) ...
Removing python3-dev (3.10.6-1~22.04) ...
Removing python3.10-dev (3.10.6-
W: Operation was interrupted before it could finish
W: APT had planned for dpkg to do more than it reported back (126 vs 325).
Affected packages: libglib2.0-0:amd64 libglib2.0-0:i386 libmpdec3:i386 libpython3-
Revision history for this message
|
#12 |
What have you done?
Instead of removing the foreign Python installation you have uninstalled the Python package from Ubuntu with the consequence that half of your Ubuntu system got deleted.
It seems to me that you have put your system into a status that it will not correctly boot again.
I am not sure whether it is possible to repair that with reasonable effort.
I suggest that you run the command
sudo apt install ubuntu-minimal -f
and tell us what's happening.
Revision history for this message
|
#13 |
Not geting the terminal.
I think i need to reinstall the OS.
Revision history for this message
|
#14 |
Try pressing the keys ctrl-alt-F1
This should open a virtual terminal where you can log on with your username and password and then this works like a terminal window (with the restriction that you cannot use the mouse and cannot copy and paste).
Or another emergency procedure is rebooting, and early during the boot press the Esc key such that the grub menu is shown, and then select recovery mode - root command prompt from the menu.
Can you help with this problem?
Provide an answer of your own, or ask Laxmidhar Routa for more information if necessary.