Tuesday, 17 December 2024

ModuleNotFoundError: No module named 'asyncore'

 $ playonlinux

Looking for python3... 3.12.3 - selected

/usr/share/playonlinux/python/mainwindow.py:710: SyntaxWarning: invalid escape sequence '\|'

  self.SupprotedIconExt = "All|*.xpm;*.XPM;*.png;*.PNG;*.ico;*.ICO;*.jpg;*.JPG;*.jpeg;*.JPEG;*.bmp;*.BMP\

1.0

Traceback (most recent call last):

  File "/usr/share/playonlinux/python/mainwindow.py", line 41, in <module>

    import options, threading, debug

  File "/usr/share/playonlinux/python/options.py", line 21, in <module>

    from asyncore import dispatcher

ModuleNotFoundError: No module named 'asyncore'


$ sudo apt-get install python3-pyasyncore
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  exo-utils libexo-2-0 libexo-common libgarcon-1-0 libgarcon-common
  libgarcon-gtk3-1-0 libxfce4panel-2.0-4 libxfce4ui-2-0 libxfce4ui-common
  libxfce4util-bin libxfce4util-common libxfce4util7 libxfconf-0-3 xfconf
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  python3-pyasyncore
0 upgraded, 1 newly installed, 0 to remove and 242 not upgraded.
Need to get 10.1 kB of archives.
After this operation, 44.0 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-pyasyncore all 1.0.2-2 [10.1 kB]
Fetched 10.1 kB in 1s (11.5 kB/s)                         
Selecting previously unselected package python3-pyasyncore.
(Reading database ... 248731 files and directories currently installed.)
Preparing to unpack .../python3-pyasyncore_1.0.2-2_all.deb ...
Unpacking python3-pyasyncore (1.0.2-2) ...
Setting up python3-pyasyncore (1.0.2-2) ...

Share:

0 comments:

Post a Comment