Jul-01-2024, 06:15 PM
It looks like you're having trouble importing the pcb-tools module in your Python script. The issue might be that the module is named differently than what you're trying to import. From your error message and the package name, it seems like you should be importing from gerber instead of pcb. Try changing your script to this: from gerber import Gerber from gerber import primitives # Create a new Gerber file gerber = Gerber() If this still doesn't work, it might be helpful to check the documentation or the source code of the pcb-tools module to verify the correct import statements. Also, make sure your script file is not named gerber.py as it could conflict with the module name.