flatcam

Open full view…

FlatCam on Raspberry Pi 3 B+

gohper
Thu, 09 Aug 2018 08:20:01 GMT

I have tested FlatCam on my Pi 2 B+ and it works rather well (I am new to this). Now I want it to run on my Pi 3 B+ instead, but i can not get it to run. Message is: Traceback (most recent call last): File "./flatcam", line 13, in <module> from FlatCAMApp import App File "/home/pi/flatcam/flatcam/FlatCAMApp.py", line 30, in <module> import ObjectCollection File "/home/pi/flatcam/flatcam/ObjectCollection.py", line 9, in <module> from FlatCAMObj import * File "/home/pi/flatcam/flatcam/FlatCAMObj.py", line 15, in <module> from camlib import * File "/home/pi/flatcam/flatcam/camlib.py", line 52, in <module> from svg.path import Path, Line, Arc, CubicBezier, QuadraticBezier, parse_path ImportError: No module named 'svg' and the diagnose.py gives: ('Platform', 'Linux', '4.14.52-v7+') ('Distro', ('debian', '9.4', '')) ('Python', '2.7.13') ('rtree', '0.8.3') ('shapely', '1.6.4.post2') ('GEOS library', (3, 5, 1)) ('Qt', '4.8.7') ('Numpy', '1.15.0') ('MatPlotLib', '2.2.2') ('MPL Numpy', '1.7.1') Any one that has been get it running on a Pi 3 B+? I am almost lost with python. I suspect there is something with module versions, or? Regards Gohper

Marius Stanciu
Thu, 09 Aug 2018 08:57:39 GMT

Hi, It seems that you don't have the svg.path module installed. Try to use a command like: pip install svg.path but that is assuming you have pip installed. If not, try first to install pip with apt-get. PS: Obviously, your PI needs a Internet connection for those to work.

Marius Stanciu
Thu, 09 Aug 2018 09:00:28 GMT

Also, latest FlatCAM development version is working with python 3.

gohper
Thu, 09 Aug 2018 09:14:00 GMT

Hi Marius, Thank you for a quick reply. This was an ERROR 404, the error is 404 mm in front of the screen! Embarrassing, YES! Since it was some months ago that I run it on the pi2, I forgot how I installed it and how to start it. The way is download zip file, extract it, run the 'setup_ubuntu.sh', start with 'python FlatCAM.py'. Don't use the 'git clone...'-way! But thanks again!

kindeggplant7872
Wed, 11 May 2022 00:53:44 GMT

Sorry to bump this old post, but I'm desperately trying to get flatcam to work on a modern raspberry pi, building from broken sources has been a nightmare. Is there any chance you would be willing to image the sd card you have and send it to be archived?

Marius Stanciu
Fri, 13 May 2022 12:32:09 GMT

Down with spam, up with this.