-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the function generate_pcb() can't generate PCB file #191
Comments
did you fix this? |
Hi @devbisme if this problem is not taken, could I solve this ? |
I'm not seeing this error when running the tests on linux. You can try it on Windows and see if the error occurs there. If so, then go ahead and attempt a fix. Please use the If you don't see any errors, then I can close this issue. |
Hi Dave, the problem was majorly for Windows user. We have to include the pcbnew module in our Python library search path in the code of kinet2pcb.py. I am writing instructions on how one could change the same for beginners using the code for the first time -
Here is how code looked before -
For Windows user they have to change as -
|
Thanks for looking at this, @roboPanda69. It appears that the changes need to be made to the |
Describe the bug
Hi devbisme, When I running the function generate_pcb(), I get a WARNING:
WARNING: kinet2pcb module is missing. Can't generate a KiCad PCB without it.
but I have installed kinet2pcb
** The test code in the JupyterLab**
** output message**
WARNING: kinet2pcb module is missing. Can't generate a KiCad PCB without it. @ [D:\Python310\Lib\site-packages\IPython\core\interactiveshell.py:3433=>C:\Users\Administrator\AppData\Local\Temp\ipykernel_29400\1868553726.py:4] INFO: 1 warnings found while creating PCB. INFO: 0 errors found while creating PCB.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: