![]() ![]() With pip instead of using `setup.py install`: Note: if you need reliable uninstall behavior, then install Umpy\\setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' install -record 'c:\users\nevetts\appdata\local\temp\pip-record-jb_kzs\install-record.txt' -single-version-externally-managed -compile -install-headers 'c:\program files\kicad\include\python2.7\numpy'Ĭwd: c:\users\nevetts\appdata\local\temp\pip-install-w7ks_f\numpy\ errorĮRROR: Command errored out with exit status 1:Ĭommand: 'c:/program files/kicad/bin/python.exe' -u -c 'import sys, setuptools, tokenize sys.argv = '"'"'c:\\usersĮvetts\\appdata\\local\\temp\\pip-install-w7ks_f Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed. More details about Python 2 support in pip can be found at pip 21.0 will remove support for this functionality. pip 21.0 will drop support for Python 2.7 in January 2021. Please upgrade your Python as Python 2.7 is no longer maintained. I find it really weird that an example pcbnew script would require a library that I can’t easily get.Īfter ‘pip install numpy’ the terminal replies: > C:\Program Files\KiCad\bin>pip install numpyĭEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. There’s also this (which didn’t seem to give a clear answer): Anyone installed NumPy for use with KiCAD's python? In that thread suggests building with mingw might work for other packages, but not numpy (I’m unfamiliar with mingw). I’ve also tried the suggested work around ( Kicad python pip is working?) to run pip from the BOM console, which results in the same errors. ![]() I’ve tried opening a cmd prompt as administrator and The kicad console complains that I don’t have numpy installed. In particular I am trying to run recipe.py in the scripting console (like at 9:51 of this youtube video: ). Pcbnew script will not run out of the box on Ubuntu 18 or recent linux Mint See this post below for a little more detail I recommend Ubuntu 16.04 with the kicad nightly build If you are experiencing a segfault when starting pcbnew on linux This first post serves as a table of contents for this thread. In an effort to help make kicad even better, I’ve put together some tutorials on using the python interface built into pcbnew. Tutorials on python scripting in pcbnew Software
0 Comments
Leave a Reply. |