Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird warning appear when ever I install something via pip #5316

Closed
arjunkharbanda opened this issue Apr 20, 2018 · 6 comments
Closed

Weird warning appear when ever I install something via pip #5316

arjunkharbanda opened this issue Apr 20, 2018 · 6 comments
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior

Comments

@arjunkharbanda
Copy link

  • Pip version: 10.0.1
  • Python version: 3.6.5 64 bit
  • Operating system: Windows 10 64 bit

Description:

Got this weird waring it started after updating pip to version 10. It appears every time I install something via pip

What I've run:

pip install (Django in this case)

The script django-admin.exe is installed in 'c:\users\arjun kharbanda\appdata\local\programs\python\python36\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location

image
image

@pradyunsg
Copy link
Member

Is there a trailing slash on the PATH?

@arjunkharbanda
Copy link
Author

Yes there is a trailing slash on the PATH

@pradyunsg
Copy link
Member

Thanks for filing this issue!

As a temporary workaround, you can remove the trailing slash. This issue will be fixed by #5293.

@pradyunsg
Copy link
Member

It's already fixed in master, I'll go ahead and close this issue. This will be fixed in the next release. :)

@ghost
Copy link

ghost commented Apr 21, 2019

use sudo pip install
or use sudo -s to run as root user

@lock
Copy link

lock bot commented May 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label May 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants