Skip to content
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

plugin not starting in kicad 7.03 and 8.03 under linuxubuntu 20.03 #12

Open
Alec1of1 opened this issue Jul 8, 2024 · 24 comments
Open

Comments

@Alec1of1
Copy link

Alec1of1 commented Jul 8, 2024

[]https://i.ibb.co/BrK12K0/upload.jpg
numpy
(url)
no module named "numpy"

8 jul 2024

thanks

@Steffen-W
Copy link
Owner

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.

grafik

@Steffen-W
Copy link
Owner

Steffen-W commented Jul 8, 2024

How did you install kicad? Via APT, Flatpak, manually?

@Alec1of1
Copy link
Author

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 .

@Alec1of1
Copy link
Author

@Alec1of1
Copy link
Author

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

@Alec1of1
Copy link
Author

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

@Alec1of1
Copy link
Author

@Alec1of1
Copy link
Author

@Steffen-W
Copy link
Owner

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')

image

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

@Alec1of1
Copy link
Author

@Steffen-W
Copy link
Owner

I can't see the images. In github you can also simply copy and paste the images into the text field.

@Alec1of1
Copy link
Author

screen2

@Alec1of1
Copy link
Author

screen3

@Steffen-W
Copy link
Owner

Steffen-W commented Jul 10, 2024

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.

@Alec1of1
Copy link
Author

it is in terminal?

@Steffen-W
Copy link
Owner

But it now looks like numpy is installed. Have you already tried whether "import numpy" works in KiPython?

@Alec1of1
Copy link
Author

same error output , did not install numpy

@Steffen-W
Copy link
Owner

Steffen-W commented Jul 10, 2024

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.

@Alec1of1
Copy link
Author

Steffen can this tool calculate parasitic of strip line aka transmission line and show it reflection according to speed of light ??

And thanks allot.

@Steffen-W
Copy link
Owner

Unfortunately not in the uploaded version. I am in the process of making this possible but unfortunately not yet finished.

@Alec1of1
Copy link
Author

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.

@Alec1of1
Copy link
Author

discort link not function

@Steffen-W
Copy link
Owner

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)

@Steffen-W
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants