Hi,
I’m using pip version 19.3.1; however, I want to upgrade pip to the lastest version 21.3.1 (which is available).
I type the code: “pip install --upgrade pip” in the doker. However, it does not work
I have a trouble with the following error:
Collecting pip
Using cached https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.3.1
Uninstalling pip-19.3.1:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/usr/local/bin/pip’
Consider using the --user
option or check the permissions.
WARNING: You are using pip version 19.3.1; however, version 21.3.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Note: you may need to restart the kernel to use updated packages.
I did restart the kernel and retry again but it still did not work
How can I do to solve this problem
could you help me please?
Best regards