My pip does not work.

$ pip --version
Traceback (most recent call last):
  File "/home/sgmuwa/.local/bin/pip", line 6, in <module>
    from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
$ sudo dpkg-reconfigure python3-pip
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)

I found instruction: https://qastack.ru/ubuntu/1025189/pip-is-not-
working-importerror-no-module-named-pip-internal

$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ python3 get-pip.py --force-reinstall

And pip work nice:

$ pip --version
pip 20.0.2 from /home/sgmuwa/.local/lib/python3.8/site-packages/pip (python 3.8)

But bug is still exist:
$ sudo dpkg-reconfigure python3-pip
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863414

Title:
  Have many "/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line
  buffering (buffering=1) isn't supported in binary mode, the default
  buffer size will be used" on simple APT usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.8/+bug/1863414/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to