Install pyserial

Asked by Keith Renecle on 2018-11-30

I download pyserial and extracted it to the correct Python/Lib folder but when I got to Export - Plot then it says that Pyserial is not installed. What else must I do? Thanks very much

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Keith Renecle
Solved:
2018-12-03
Last query:
2018-12-03
Last reply:
2018-12-01
Hachmann (marenhachmann) said : #1

What is your Inkscape version?
What is your operating system?
How did you install Inkscape?

Hachmann (marenhachmann) said : #2

Oh, and for which python version is the pyserial you installed? 2 or 3?

Keith Renecle (krenecle) said : #3

Hi, my Inkscape is ver. 0.91 and I installed it from the exe file.
I'm running Windows 7 home premium 32 bit
I did not install a separate version of Python but I see in the Inkscape program folders there are Python.exe and Pythonw.exe files

Do I need to install another version of Python? I also run Blender and one of my game files has Python 2.76 folder in it.

Hachmann (marenhachmann) said : #4

As your Inkscape version is quite outdated, I would suggest you:

- uninstall your Inkscape 0.91, and delete any folders/files that remain in the installation directory (including the python files).
- then visit https://inkscape.org/release/
- look through the release notes of the versions you have missed, if you want to (especially important if you use Inkscape to create images for plotting/cutting/other real-world making purposes)
- click through until you get to the 32bit Windows exe file
- install that, including python

Then try the Extensions > Export > Plot extension again.

If that doesn't help, I will ask our Windows dev how to use the pip that comes with Inkscape.

Keith Renecle (krenecle) said : #5

Thanks so much! O.K. I'll try that and see what happens. So I install the latest Inkscape plus Python but what about the Pyserial driver? Is that included in the latest Inkscape?

Hachmann (marenhachmann) said : #6

I have no idea, but we'll find a solution, it's just going to be easier with a current version of Inkscape (except for, maybe: https://inkscape.org/en/learn/faq/#inkscape-092-my-drawings-are-just-quarter-their-original-size-when-i-open-them-program-xyz ).

Keith Renecle (krenecle) said : #7

O.K........SUCCESS! Thanks so much for the help! I installed the latest Inkscape plus Python and it still did not work but I then found that I had the wrong Com Port number for the USB to serial gadget. I fixed that and the old plotter is plotting away nicely. I want to modify it to a vinyl cutter so now I can carry on. Thanks again, I really appreciate that!

Regards,
Keith

Hachmann (marenhachmann) said : #8

:) So it looks like pyserial comes with it. That's good! Happy plotting!

Keith Renecle (krenecle) said : #9

When the error box pops up it shows a file caller "plotter.py" so I guess that this has replaced the pyserial file. I'm just glad that it works! Inkscape rules!!