[WinError 123} Can't install pip packages
Question:
I tried to find solutions on simillar threads but really can’t find any.
Can’t install packages due to an error WinError 123 as shown on image below:
Image here!
I find it weird that in path there is ‘sC’ term at the end.
I tried to reinstall and install different versions of python but it happens on all as I assumme that is a Windows problem.
During investigation i put print command in path and mkdir function variable called ‘name’. Everything goes well over there but i found a problem at last few lines:
Problem
So the last Path is corrupted as it adds a ‘s’ character and repeats the path again, and when tool is cropping the path it leaves it with just sC signs.
Answers:
Well… it took rather longer distance than i thought and of course the answer is simple.
Easiest way is to run:
pip config debug
and localize your installing paths:
Here is the output:
I saw there was a weird one over there at global.target
variable which I did not modify. Easy solution, just change pip.ini
file so the path is actually the path you want your libraries to be stored at.
I tried to find solutions on simillar threads but really can’t find any.
Can’t install packages due to an error WinError 123 as shown on image below:
Image here!
I find it weird that in path there is ‘sC’ term at the end.
I tried to reinstall and install different versions of python but it happens on all as I assumme that is a Windows problem.
During investigation i put print command in path and mkdir function variable called ‘name’. Everything goes well over there but i found a problem at last few lines:
Problem
So the last Path is corrupted as it adds a ‘s’ character and repeats the path again, and when tool is cropping the path it leaves it with just sC signs.
Well… it took rather longer distance than i thought and of course the answer is simple.
Easiest way is to run:
pip config debug
and localize your installing paths:
Here is the output:
I saw there was a weird one over there at global.target
variable which I did not modify. Easy solution, just change pip.ini
file so the path is actually the path you want your libraries to be stored at.