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

pip is installed on every invocation when pip is installed from pip #256

Closed
lattwood opened this issue Oct 28, 2015 · 3 comments
Closed

Comments

@lattwood
Copy link

Not sure what the actual cause is

@lattwood lattwood changed the title pip is installed on every invocation is pip is installed from pip and no path is set pip is installed on every invocation when pip is installed from pip when no path is set Oct 28, 2015
@lattwood lattwood changed the title pip is installed on every invocation when pip is installed from pip when no path is set pip is installed on every invocation when pip is installed from pip Oct 28, 2015
@igalic
Copy link
Contributor

igalic commented Oct 29, 2015

@lattwood can you please post the snippet of code that causes that?

@lattwood
Copy link
Author

I believe it has to do with no paths being specified for the following commands

https://github.com/stankevich/puppet-python/blob/master/manifests/install.pp#L72-L73

which uses the current PATH to locate pip

@igalic
Copy link
Contributor

igalic commented Oct 29, 2015

self-fulfilling prophecy…

shivapoudel pushed a commit that referenced this issue Feb 8, 2016
evidex pushed a commit to code-management/puppet-python that referenced this issue Mar 15, 2016
`/usr/bin/which pip` always return `false` because `$PATH` is not set. Instead, check for existance of `/usr/local/bin/pip`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants