Pip doesn't works
Hello so if I try to execute pip it doesn't do anything but when I use ctrl + c to stop the command I get this error : ```
^CTraceback (most recent call last):
File "/usr/bin/pip", line 33, in
Also if I wait more the error gets bigger.
It worked for me, it just took a while. Can you post the command you ran before the traceback?
This is so slow (I haven’t seen any output from pip yet) that I am using this which is much faster:
alias easy_install="python3 -c 'from setuptools import setup; setup()' easy_install"
easy_install PKGNAME
EDIT: from the pypa issue (https://github.com/pypa/pip/issues/11176#issuecomment-1152478400):
Looking at the linked issue, it appears that wherever ish got their copy of
/usr/bin/pipfrom, it's not the one generated by pip itself. It uses importlib to get the entry point for pip, which will be slow if ish has an emulated filesystem. I suspect they get their pip (and python) from some Linux distribution that's part of the ish build, but it's not clear to me which one.Whether the above is of any help to the ish project in addressing this issue, I don't know. You could try running
python -m pip install pytestand see if that's faster - it bypasses the problematic wrapper script so it might be.
And another (https://github.com/pypa/pip/issues/11176#issuecomment-1161966998)
My very intuitive guess is this is probably due to ssl;
easy_installuses http, while pip uses https. If that's the case, the slowdown is a necessary tradeoff, and is out of our hands anyway. Not guaranteeing this is the case though, I could be very off, but this might be a place to start investigating for iSH developers.