Closed ksalman closed 4 years ago
What is the package you are looking to install? Have you also written out the require as such:
django:
pip.installed:
- name: django >= 1.6, <= 1.7
- bin_env: /foo/.virtualenvs/bar
- require:
- pkg: python-pip
Well, why would that be required though? python-pip package will install pip for a python that is in a different location and most likely a different version compared to what I have installed at the bin_env location, /usr/local/pyenv/versions/2.7.15/bin
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
This is not stale.
On Tue, Jan 7, 2020, at 05:05, stale[bot] wrote:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/saltstack/salt/issues/55247?email_source=notifications&email_token=AAJVZB6ABKYH4SEU53ZGLA3Q4R42RA5CNFSM4JK7R3E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIZLGA#issuecomment-571577752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVZBY2QT6XMXKKYGXJNWDQ4R42RANCNFSM4JK7R3EQ.
Thank you for updating this issue. It is no longer marked as stale.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Thank you for updating this issue. It is no longer marked as stale.
@Akm0d @xeacott can one of you please follow up here?
Does this PR address the issue? https://github.com/saltstack/salt/pull/56023
The referenced PR is a step towards a fix for this issue, let's remove the if salt.utils.platform.is_windows()
and solve whatever issues pop up after that in a new PR
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Was there any resolution for this issue? I am having trouble getting anything to install to a pyenv-installed version of python.
My goal is to install pyenv, then use that to install python3.8, then install pipx into that version of python. Any tips?
Hey is this issue resolved? I am also facing the same issue where python3-pip (system) is required to install anything using the virtual-env pip. bin_env also doesn't help in this case unless the pip is installed on system.
I installed a different version of python using
pyenv.installed
and now I am trying to install its pip packages, but I am not able to target pip in that python location. I have tried using
cwd
option forpip.installed
but that does not appear to work.I also tried using the
bin_env
option, as shown here https://docs.saltstack.com/en/latest/ref/states/all/salt.states.pip_state.html, but I get same result