-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Remove pip upgrade step from install docs #10587
Conversation
@mbaijal @gautamkmr @marcoabreu can you please take a look ? |
@cjolivier01 @reminisce can you also please help review ? |
@anirudh2290 The test still fails on nightly when i run it on your local branch. |
After the pip 10 update, for some users it's actually recommended/mendatory to upgrade, see https://pypi.org/help/#tls-deprecation |
After the GPU fix, the nightly test passes. |
The issue is that installing pip with debian package manager ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi. You can do it if you specify —user and have .local/bin in you path. It is the safest and recommended way of maintaining an up to date pip for the user while not breaking system’s pip
@gsemet Thanks for your inputs. Even with the
Since, the upgrade to pip doesn't seem to be required (unless there is a counter use case that i am not aware of), we can just omit the upgrade step here. |
what does |
Yes it's in the path. You can see that I have outputted path. which pip
returns ~/.local/bin/pip. It's weird because when I try with
~/.local/bin/pip it works fine.
…On Wed, Apr 18, 2018, 9:54 AM Gaetan Semet ***@***.***> wrote:
what does which pip returns? You need to ensure you have ~/.local/bin in
your PATH
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10587 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABc6j3sDe1UpngZzUBjEy0hWN2ALdMTUks5tp2_VgaJpZM4TZLL_>
.
|
* Remove pip upgrade step * Trigger CI * Fix for GPU too * Trigger CI
* Remove pip upgrade step * Trigger CI * Fix for GPU too * Trigger CI
* Remove pip upgrade step * Trigger CI * Fix for GPU too * Trigger CI
* Remove pip upgrade step * Trigger CI * Fix for GPU too * Trigger CI
Description
It is not advised to upgrade a system pip package(install with debian package manager for example) to be upgraded by doing
pip install -U pip
(pypa/pip#5221). I don't think we need this upgrade step here since MXNet installs fine with the pip version that is available after doingsudo apt-get install python-pip
. Please see the PIP upgrade issue: pypa/pip#5221 . We ran into this issue when running the nightly tests.Removed the upgrade step in this PR.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments