Open Sweetharry1992 opened 5 years ago
Hey, uhm... I recieved an email notification with your username as the sender and I thought it was a spam bot that gmail couldn't catch. So, maybe change your username, because other people might not take your messages seriously.
Never mind that, about your problem: it seems like one of those fatal unrecoverable errors pip sometimes makes, like when you try updating pip via sudo pip install -U pip
(don't try this at home). My advice is to:
Use Python 3: Python 2 is retiring in 1 year from now (check the countdown here) and most libs already support Python 3.
Reinstall everything: if you run sudo apt purge python2
, you'll probably destroy your ubuntu distro. So, try reinstalling EVERYTHING: delete the ubuntu
folder and rerun the script.
i reinstall Ubuntu-on-termux and try again with only apt install python3 python3-pip python3-setuptools after installing everything then i type ----------------------------see blow--------------------------- root@localhost:/# pip3 -V Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_vendor/init.py", line 33, in vendored import(vendored_name, globals(), locals(), level=0) ModuleNotFoundError: No module named 'pip._vendor.colorama'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in
root@localhost:/# python3 -V Python 3.6.7 root@localhost:/# which python3 /usr/bin/python3 root@localhost:/# which pip3 /usr/bin/pip3 ---------------------------END----------------------- try with python3 -m pip -V also try to install any pkg both methods try pip3 --no-color --no-cache-dir error comes again and again whats the Problem ????
try pypi
every thing is work perfectly for me but main issue is python-pip is not working im on Samsung C5 with Android v9 -----------------------------see blow---------------------------- root@localhost:/# pip install dryscrape Traceback (most recent call last): File "/usr/bin/pip", line 9, in
from pip import main
File "/usr/lib/python2.7/dist-packages/pip/init.py", line 22, in
from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
File "/usr/lib/python2.7/dist-packages/pip/_vendor/init.py", line 65, in
vendored("colorama")
File "/usr/lib/python2.7/dist-packages/pip/_vendor/init.py", line 36, in vendored
import(modulename, globals(), locals(), level=0)
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/init.py", line 2, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/initialise.py", line 6, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/ansitowin32.py", line 7, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/winterm.py", line 2, in
File "/usr/share/python-wheels/colorama-0.3.7-py2.py3-none-any.whl/colorama/win32.py", line 8, in
File "/usr/lib/python2.7/ctypes/init.py", line 556, in
_reset_cache()
File "/usr/lib/python2.7/ctypes/init.py", line 276, in _reset_cache
CFUNCTYPE(c_int)(lambda: None)
MemoryError
root@localhost:/# which python /usr/bin/python root@localhost:/# which pip /usr/bin/pip -------------------------END------------------- also try with --no-cache-dir also try with python -m pip install dryscrape also try with pip -v also try get_pip.py for update the pip every time same error comes please try to fix it or tell me what i do
2nd issue is npm not installing packages but after all its working amazingly great job guys keep it up