Python LinuxCNC module

  • hhscott
  • Away
  • Junior Member
  • Junior Member
More
29 Dec 2025 22:19 #340688 by hhscott
Python LinuxCNC module was created by hhscott
I am wanting to write a couple of simple python3 scripts to automate some functions in LinuxCNC using the python linuxcnc module to send NML messages. I did this several years ago for another project and it was very successful. In this new application I am using a pi5 8GB with a Mesa 7i96s running Trixie 2.9.7. The basic installation is working well and the CNC is operating great so far (without any python automation). 

I am a little confused about using python on Debian Trixie. When I try to install a package I get errors and the terminal prompts that I should use a virtual environment for python and packages. If I do this, will my python scripts still connect to the running instance of LinuxCNC? Please help me understand the basic structure for using python on the Trixie OS with LinuxCNC.

Thank you,
HH

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum