[Swlug] G-Mouse
Sam Braithwaite
sam at braithwaite.cymru
Sat Feb 12 16:05:49 UTC 2022
Is this any help?
https://raspberrypi.stackexchange.com/questions/68816/how-can-i-set-up-my-g-mouse-usb-gps-for-use-with-raspbian
Alice is right though, you should definitely be able to install pyserial
through the package manager to fix the "ModuleNotFoundError: No module
named serial" error, e.g. on Ubuntu through running "sudo apt install
python3-serial".
Sam
On 12/02/22 14:55, Rhys Sage via Swlug wrote:
> I've not yet tried the G-Mouse on my Pi. I'm trying it on my laptop
> first. It comes up on my laptop running Mint 20.1 Cinnamon as this
> Bus 001 Device 005: ID 1546:01a7 U-Blox AG [u-blox 7]
>
> On my other laptop running Raspbian Buster, it doesn't show up at all,
> which is rather unfortunate as that's the laptop I had several free
> hours to work on during my now non-existent work breaks. Yup - they keep
> me busy. I'm now doing overtime for the next few months.
>
> Where the problem I'm getting lies is that on my Mint laptop, running
> the Python code comes up with
>
> ModuleNotFoundError: No module named 'serial'
>
> I'm thinking that might be a Pi specific library that might not be
> replicatable on my Mint laptop. I'm using the sample code from here.
> https://content.instructables.com/ORIG/FVN/X6U3/JLCKH7EE/FVNX6U3JLCKH7EE.py
> <https://content.instructables.com/ORIG/FVN/X6U3/JLCKH7EE/FVNX6U3JLCKH7EE.py>
>
> If I can get the Mint laptop to access the G-Mouse then I can get to
> work on code to read the output and parse it into a usable format
> (meanwhile learning Python as I go).
>
> As far as the other laptop goes, I put Raspbian on it so that I have a
> duplicate of my Pi but that seems not to be the case if it won't act
> like a Pi for reading common stuff like USB ports. I might end up
> replacing Raspbian Buster with MX in that case, just to make the laptop
> more usable.
>
> Is the seriel library likely a Raspbian only thing that can't be applied
> to Mint or is there some solution?
>
> Rhys Sage
>
More information about the Swlug
mailing list