Repository navigation
π Add step about upgrading pip in the venv to avoid errors when installing dependencies docs/en/docs/contributing.md - #5181
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5181 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 535 535
Lines 13825 13825
=========================================
Hits 13825 13825 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Contributor
|
π Docs preview for commit 91aca11 at: https://62d83863194b980600bb5976--fastapi.netlify.app |
edisnake
commented
Jul 20, 2022
| <div class="termy"> | ||
|
|
||
| ```console | ||
| $ python -m pip install --upgrade pip |
Contributor
Author
There was a problem hiding this comment.
FYI, this command helped me to solve errors when attempting to install Flit since I had and old pip version, .i.e.
$ python -m pip install --upgrade pip
Cache entry deserialization failed, entry ignored
Collecting pip
Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
100% |ββββββββββββββββββββββββββββββββ| 1.7MB 816kB/s
Installing collected packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-21.3.1
Contributor
Author
|
Hi @tiangolo please take a look when having a chance, thx! |
Contributor
|
If you have a current version of Python, then pip wouldn't be outdated. What version did you have that Flit conflict with? |
Contributor
Author
Contributor
docs/en/docs/contributing.md
Member
|
Nice thank you @edisnake! π And thanks @JarroVGIT for the discussion! β |
tiangolo
enabled auto-merge (squash)
August 26, 2022 14:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Doc improvement for avoiding issues when installing dependencies as contributor.