我正在寻找一种方法来继续使用我的 RepRap Mendel Tricolor 在 Ubuntu 22 上工作。默认软件是 printrun/Pronterfacehttps://www.pronterface.com/但该项目似乎已经有一段时间不受支持了。所需的 Python 包已不再找到,因为需要安装
$ sudo apt-get install python-serial python-wxgtk2.8 python-pyglet python-tk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python-serial
E: Unable to locate package python-wxgtk2.8
E: Couldn't find any package by glob 'python-wxgtk2.8'
E: Couldn't find any package by regex 'python-wxgtk2.8'
E: Unable to locate package python-pyglet
我还添加了/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ trusty main universe
但这并没有什么区别。
经过所有尝试并安装 wxPyhton 4.1.1 后,pronterface.py 结果仍然错误:
Traceback (most recent call last):
File "xxx/./pronterface.py", line 30, in <module>
from printrun.pronterface import PronterApp
File "xxx/primtrun/pronterface.py", line 32, in <module>
from . import pronsole
File "xxx/printrun/pronsole.py", line 32, in <module>
from appdirs import user_cache_dir, user_config_dir, user_data_dir
ModuleNotFoundError: No module named 'appdirs'
如何获取支持打印?其他软件?包含依赖项的 pronterface 的 Appimage 等?其他存储库以安装缺少的组件?