PcbDraw icon indicating copy to clipboard operation
PcbDraw copied to clipboard

Missing 3rdparty directory resulting in ERROR: Could not install packages in Windows 10

Open yconst opened this issue 2 years ago • 5 comments

Following the instructions to install in Windows 10 using pip install PcbDraw in the KiCad Command Prompt, I get the following:

ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 
'C:\\Users\\****\\Documents\\KiCad\\6.0\\3rdparty\\Python39'

It seems there is no 3rdparty directory in KiCad

yconst avatar Apr 11 '22 18:04 yconst

This seems like a problem in KiCAD installation - there is no Python interpreter provided by KiCAD.

yaqwsx avatar Apr 11 '22 18:04 yaqwsx

I went ahead and did a full upgrade to Kicad 6.0.4 -- all default options. Now the error is

ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 
'C:\\Users\\****\\Documents\\KiCad\\6.0.4'

The 6.0.4 directory doesn't even exist... it seems something fishy is going on with the kicad directory naming. I'm not so advanced to dig through the KiCad configuration to solve this.

I understand this is not immediately related with PcbDraw, so feel free to close it.

yconst avatar Apr 11 '22 18:04 yconst

Recently, there was an issue where the root cause was aggressive anti-virus software: https://gitlab.com/kicad/code/kicad/-/issues/11578

yaqwsx avatar May 08 '22 13:05 yaqwsx

Was this resolved? Was it the aggressive anti-virus software?

yaqwsx avatar Jun 26 '22 19:06 yaqwsx

I did not try it since

yconst avatar Jul 05 '22 13:07 yconst