Bari
September 20, 2024, 9:50am
1
Hello,
i can’t get pip to work.
even though though python seems to be working fine. when i type python --version it responds with 3.11.5.
I’m running out of ideas. is there a PATH i’m supposed to add? I installed the same version of kicad on my laptop where it works without anything beeing added in PATH.
there’s something wrong, because before, none of installed plugins would show up, so finally after going through and removing every trace of every kicad version i ever had and installing it in a different folder i got plugins to work, but pip still won’t work.
it seems like the installer doesn’t properly remove everything when uninstalling
dsa-t
September 20, 2024, 10:01am
2
Are you opening the command window by “KiCad 8.0 Command Prompt”?
Bari
September 20, 2024, 10:03am
3
yes, I tried with admin rights
dsa-t
September 20, 2024, 10:05am
4
On my system, the default path is C:\Users\<User>\Documents\KiCad\8.0
and pip works.
Are you sure you don’t have any weird environment variables set?
dsa-t
September 20, 2024, 10:12am
5
Even if I move Documents to C:\MyDocuments
and create a lowercase kicad\8.0
dir, pip works on my system.
C:\MyDocuments\kicad\8.0>pip --version
pip 24.2 from C:\Program Files\KiCad\8.0\bin\Lib\site-packages\pip (python 3.11)
dsa-t
September 20, 2024, 10:16am
6
Check
echo %PATH%
pip.exe
should be in C:\Program Files\KiCad\8.0\bin\Scripts
Bari
September 20, 2024, 10:43am
7
pip is in that exact folder. there’s no path related to kicad or python in my PATH.
adding it to path didn’t help.
however if i cd to where pip is located i get a weird file not found message
dsa-t
September 20, 2024, 11:35am
8
Try adding this to “C:\Program Files\KiCad\8.0\bin\kicad-cmd.bat” (as admin)
@echo _BIN_DIR: %_BIN_DIR%
Here:
Then it should say
_BIN_DIR: C:\Program Files\KiCad\8.0\bin\
when opening “KiCad 8.0 Command Prompt”
PATH should definitely be like this:
C:\MyDocuments\kicad\8.0>echo %PATH%
C:\Program Files\KiCad\8.0\bin\;;C:\Program Files\KiCad\8.0\bin\Scripts;<other paths>
Bari
September 20, 2024, 12:20pm
9
I’ve put what you said in that bat file
here’s the result
Naib
September 20, 2024, 12:25pm
10
pip3.exe is, pip.exe isn’t
dsa-t
September 20, 2024, 12:36pm
11
After uninstalling, then reinstalling KiCad 8.0.5, in C:\Program Files\KiCad\8.0\bin\Scripts
there should be these files:
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 07.09.2024 6:33 120576 normalizer.exe
-a---- 20.09.2024 17:33 108402 pip.exe
-a---- 20.09.2024 17:33 108402 pip3.11.exe
-a---- 20.09.2024 17:33 108402 pip3.exe
-a---- 07.09.2024 6:33 120552 wheel.exe
Bari
September 20, 2024, 1:06pm
12
you’re right.
fresh install, fresh download pip.exe missing
Bari
September 20, 2024, 1:12pm
13
if i do this it’s there:
however if i try to install kikit like that i get an openssl error
OPENSSL_Uplink(00007FF9D82B8A38,08): no OPENSSL_Applink
dsa-t
September 20, 2024, 1:23pm
14
Try checking that you don’t have extra openssl dlls (libssl*.dll / libcrypto*.dll) in your path and check your system files for integrity.
Also see Python interpreter encountered a "no OPENSSL_Applink" error - #2 by lassoan - Development - 3D Slicer Community
Bari
September 20, 2024, 6:41pm
15
SSLKEYLOGFILE variable was the issue. after removing it, pip installed correctly and everything worked.
MrTeriyaki’s answer in this post:
python-3.x, pip
problem solved! thanks everyone for contributing
1 Like