Forum Replies Created
-
AuthorPosts
-
pythonpinkyParticipant
Hello, does anyone know if this person’s problem got resolved? I’m in the exact same situation with pretty much the exact result.
I’ve read through the discord starting at January 2020, and holy cow your support is responsive. So it’s surprising to see this post has no replies. I found similar issues in Discord, and stepped alongside the suggestions, but do not find a solution.
Intended design is to have a Raspberry Pi 4 B (4g ram) used solely to operate the plotter based on documents it’s handed. I’m not using it to create pieces. I have a MCB with Illustrator for that, but Inkscape will crash after a plot when running in the background. Hence a separate device. So I hear you, understand you, and agree with you if you say ‘use CLI with raspy’ but I can’t even get that to work. So hopefully if gui works then I can graduate to CLI later.I’m happy to eliminate any variables. From a brand, brand new Rasperry Pi OS Full install, having only configured the NIC:
#sudo apt update
#sudo apt install inkscape
#sudo reboot
#pip install plotink
(plotink was a wild guess based on above post error message)
downloaded the zipped extensions from cdn.evilmadscientist.com
unzipped
copy the 32 items, paste in /home/pi/.config/inkscape/extensions (as determined by Inkscape>Edit>Preferences>system>Extensions)
#groups
confirmed username ‘pi’ is in groups ‘dialout’
#sudo reboot
Inkscape>Extensions>AxiDraw Control>Setup>Pen up/down>ApplyTraceback (most recent call last):
File “axidraw_control.py”, line 10, in <module>
axidraw_control = from_dependency_import(‘axidrawinternal.axidraw_control’)
File “/home/pi/.config/inkscape/extensions/plot_utils_import.py”, line 36, in from_dependency_import
module = import_module(module_name)
File “/usr/lib/python2.7/importlib/__init__.py”, line 37, in import_module
__import__(name)
File “/home/pi/.config/inkscape/extensions/axidraw_deps/axidrawinternal/axidraw_control.py”, line 28, in <module>
from axidrawinternal import axidraw # https://github.com/evil-mad/axidraw
File “/home/pi/.config/inkscape/extensions/axidraw_deps/axidrawinternal/axidraw.py”, line 38, in <module>
from axidrawinternal import axidraw_svg_reorder
File “/home/pi/.config/inkscape/extensions/axidraw_deps/axidrawinternal/axidraw_svg_reorder.py”, line 44, in <module>
plot_utils = from_dependency_import(‘plotink.plot_utils’) # https://github.com/evil-mad/plotink Requires version 0.15
File “/home/pi/.config/inkscape/extensions/axidraw_deps/plotink/plot_utils_import.py”, line 36, in from_dependency_import
module = import_module(module_name)
File “/usr/lib/python2.7/importlib/__init__.py”, line 37, in import_module
__import__(name)
File “/home/pi/.config/inkscape/extensions/axidraw_deps/plotink/plot_utils.py”, line 40, in <module>
from math import sqrt, isclose
ImportError: cannot import name iscloseClose error message
Freehand tool (F6)
Draw small squiggle
AxidrawControls>Plot>ApplyTraceback (most recent call last):
File “axidraw_control.py”, line 10, in <module>
axidraw_control = from_dependency_import(‘axidrawinternal.axidraw_control’)
File “/home/pi/.config/inkscape/extensions/plot_utils_import.py”, line 36, in from_dependency_import
module = import_module(module_name)
File “/usr/lib/python2.7/importlib/__init__.py”, line 37, in import_module
__import__(name)
File “/home/pi/.config/inkscape/extensions/axidraw_deps/axidrawinternal/axidraw_control.py”, line 28, in <module>
from axidrawinternal import axidraw # https://github.com/evil-mad/axidraw
File “/home/pi/.config/inkscape/extensions/axidraw_deps/axidrawinternal/axidraw.py”, line 38, in <module>
from axidrawinternal import axidraw_svg_reorder
File “/home/pi/.config/inkscape/extensions/axidraw_deps/axidrawinternal/axidraw_svg_reorder.py”, line 44, in <module>
plot_utils = from_dependency_import(‘plotink.plot_utils’) # https://github.com/evil-mad/plotink Requires version 0.15
File “/home/pi/.config/inkscape/extensions/axidraw_deps/plotink/plot_utils_import.py”, line 36, in from_dependency_import
module = import_module(module_name)
File “/usr/lib/python2.7/importlib/__init__.py”, line 37, in import_module
__import__(name)
File “/home/pi/.config/inkscape/extensions/axidraw_deps/plotink/plot_utils.py”, line 40, in <module>
from math import sqrt, isclose
ImportError: cannot import name iscloseSame when in Preview mode
Plug plotter into mac, runs no problemI am a nobody at Linux, Python, coding. I’m also 15 years into IT. That’s long enough to know I don’t know anything about 95% of my field. I will humbly run any gauntlet to troubleshoot this. I’ll even do a ground-up SOP on how to get Axidraw working from fresh install on a raspy. If there’s some other distro I should be using let me know.
PS this plotter really is a nice piece and otherwise worked out of the box turnkey on the mac. I do love it.
Thanks in advance for any assistance.
-
AuthorPosts