flatcam for ubuntu 18.04 pro

168 views
Skip to first unread message

Francis Fernando

unread,
Jul 23, 2024, 9:53:09 AM7/23/24
to flatcam
I use Ubuntu 18.04pro because the versions that follow it are heavy for my computer. I tried to install the most recent versions of FlatCAM but some python modules could not be installed. So I installed and was able to use FlatCAM8.5 with ubuntu 18.04lts Since certain updates of ubuntu18.04pro (probably python modules) FlatCAM does not launch and I get this feedback:
Usrpro-Product-Name:~/FlatCAM-8.5$ python FlatCAM.py
Traceback (most recent call last):
  File "FlatCAM.py", line 3, in <module>
    from FlatCAMApp import App
  File "/home/fgh66/FlatCAM-8.5/FlatCAMApp.py", line 22, in <module>
    from ObjectCollection import *
  File "/home/fgh66/FlatCAM-8.5/ObjectCollection.py", line 2, in <module>
    from FlatCAMObj import *
  File "/home/fgh66/FlatCAM-8.5/FlatCAMObj.py", line 7, in <module>
    from camlib import *
  File "/home/fgh66/FlatCAM-8.5/camlib.py", line 48, in <module>
    from svg.path import Path, Line, Arc, CubicBezier, QuadraticBezier, parse_path
  File "/usr/local/lib/python2.7/dist-packages/svg/path/__init__.py", line 1, in <module>
    from .path import Path, Move, Line, Arc, Close  # noqa: 401
  File "/usr/local/lib/python2.7/dist-packages/svg/path/path.py", line 105
    return f"Line(start={self.start}, end={self.end})"
                                                     ^
SyntaxError: invalid syntax
______________________________________________
And with python3 :
Usrpro-Product-Name:~/FlatCAM-8.5$ python3 FlatCAM.py
Traceback (most recent call last):
  File "FlatCAM.py", line 3, in <module>
    from FlatCAMApp import App
  File "/home/fgh66/FlatCAM-8.5/FlatCAMApp.py", line 49
    print cmd_line_help
                      ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(cmd_line_help)?
Usrpro-Product-Name:~/FlatCAM-8.5$

Can you help  me ?
Regard.
Reply all
Reply to author
Forward
0 new messages