missing python modules

More
3 years 9 months ago - 3 years 9 months ago #261201 by Gorts Revenge
Hello all,
I'm trying to install and run F-Engrave but I get an error when I try to run it from a terminal that says the "pyclipper" module is missing.  I tried installing the module using  sudo apt-get but I'm getting nowhere.  Has anyone run into this error before or have any idea how to resolve it?  It sounds like a common, almost rote, python module so why would it be missing in the first place?
I'm reluctant do do a total reinstall of python 3.  Any Ideas?  Help. please....
Also, is there a native graphical python editor in Debian or do I need to install one?
Last edit: 3 years 9 months ago by Gorts Revenge. Reason: more questions

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261212 by tommylight
Replied by tommylight on topic missing python modules
Try editing the f-engrave.py file and adding 3 after python at the top of the file, save and try running it.
The following user(s) said Thank You: Gorts Revenge

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261239 by Gorts Revenge
I gave that a whirl, it sounded promising, but no dice.
I went through all of the script and it would appear it was all written in Python2.7.
I've wiped clean all the files and I'm going to try a fresh install (third times a charm).

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261240 by phillc54
Replied by phillc54 on topic missing python modules
Try installing the pyclipper module:
Code:
sudo apt install python3-pyclipper

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261241 by Gorts Revenge
Pyclipper installs on Python 3 OK but there seems to be some problem with the script.
It wont run in either Python2 or Python3. It will launch (sort of) from a Python3 development environment but without any fonts. So I get a partial GUI but it doesn't actually do anything.

Does anyone know of any alternative programs that are more Unix friendly?

Alternatively, I guess can try patching a network together with my Micro$#!t machine using samba and just let it run the F-Engrave program but that sounds like more headaches than it'd be worth.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #261247 by phillc54
Replied by phillc54 on topic missing python modules
It runs fine for me without modification on buster (python 3.7.3), bullseye (python 3.9.2), and bookworm (python 3.10.8). All I needed was python3-pyclipper for all three distros.
You do need to have appropriate fonts, I downloaded the CXF zip file at the bottom of the F-Engrave web page, then added the directory in the Settings - General Settings window.
Last edit: 3 years 9 months ago by phillc54. Reason: Fix distro name, bullseye

Please Log in or Create an account to join the conversation.

Time to create page: 0.289 seconds
Powered by Kunena Forum