Open Alec1of1 opened 2 months ago
Hi @Alec1of1,
Can you try importing the library manually? See picture. You can find this under tools. I actually assumed that numpy is available by default.
How did you install kicad? Via APT, Flatpak, manually?
Hi Steffen Installation was made from lubuntu 20.04 repos by sudo install kicad it did not contain pip at all I thought it will fix the problem in lubuntu 22.04 , Iinstall it but no , no pip no numpy . In 22.04 I use kicad 8 from appimage.
https://sourceforge.net/projects/kicad-appimage/files/
works flawlessly and small size.
I tried to install python3 numpy with package manager and import in kicad as you show but it cant fined it .
can you please point where need be numpy in file system, i will tri to put there manually or how to install it properly thru terminal. If it is not in system out of box it is mines i m not alone. Thanks for your time. Alec
Lubuntu 22.04 folder file stricture /home/x/.local/share/kicad/8.0/plugins I install python from repos by muon /home/x/.local/lib/python3.10/site-packages /home/x/.local/bin
Hi @Alec1of1,
If you have installed it as an AppImage, you would have to install it in the isolated environment. Maybe you are lucky and pip exists.
import subprocess
import sys
def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
install('numpy')
In the other case, I would assume that your system-wide python installation is being used. Try the following.
sudo apt update
sudo apt install python3-pip
pip3 --version
pip3 install numpy
Thanks. but not lucky .
I can't see the images. In github you can also simply copy and paste the images into the text field.
It will not help in your case but in general an installation with -u should work. pip install -U numpy
But it now looks like numpy is installed.
it is in terminal?
But it now looks like numpy is installed. Have you already tried whether "import numpy" works in KiPython?
same error output , did not install numpy
The only thing I would do now is to ask others about discord. If you feel like it, just ask there. You don't need an account or anything. Unfortunately, I can't help you any further. I'm sorry. https://discord.com/invite/FANuKv8sZn They usually reply within an hour. Usually much faster.
Steffen can this tool calculate parasitic of strip line aka transmission line and show it reflection according to speed of light ??
And thanks allot.
Unfortunately not in the uploaded version. I am in the process of making this possible but unfortunately not yet finished.
I will suggest to contact kicad and have it in permanent instillation , it will be a beautiful tool. Just in time of design remember energy located in dielectric and strip line is caring only current.
discort link not function
Discord: https://www.kicad.org/community/chat/
KiCad is a wonderful program for designing circuits. Unfortunately, there is no native simulation option apart from circuit simulation.
Programs that might help you. There are of course countless ways to reach your goal. Unfortunately, most of them are not beginner-friendly. QucsStudio (Windows only but free) CST Studio Suite (expensive) Advanced Design System, ADS (expensive) Elmer (I've always wanted to try it out, it's opensoure)
I will suggest to contact kicad and have it in permanent instillation , it will be a beautiful tool. Just in time of design remember energy located in dielectric and strip line is caring only current.
I actually have some experience in this area, but unfortunately not enough free time to put it into practice.
[]https://i.ibb.co/BrK12K0/upload.jpg (url) no module named "numpy"
8 jul 2024
thanks