<div dir="ltr"><div>Yup.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>(pulp) [vagrant@pulp3 pulp_python]$ which rq<br>~/.virtualenvs/pulp/bin/rq<br></div></blockquote><div><br></div><div>Inside a virtualenv everything is kind of weird, for example "pip" and "python" both map to the python 3 variants instead of the python 2 variants, which you would typically expect those names to map to. <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 7, 2018 at 2:46 PM, David Davis <span dir="ltr"><<a href="mailto:daviddavis@redhat.com" target="_blank">daviddavis@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In the vagrant environment, there is no /usr/bin/rq. Instead it uses the rq executable inside the pulp virtualenv:<div><br></div><div><a href="https://github.com/pulp/devel/blob/0a37a02c1bbe809509c0215a0ff34915f090068e/ansible/roles/systemd/templates/pulp_resource_manager.j2#L11" target="_blank">https://github.com/pulp/devel/<wbr>blob/<wbr>0a37a02c1bbe809509c0215a0ff349<wbr>15f090068e/ansible/roles/<wbr>systemd/templates/pulp_<wbr>resource_manager.j2#L11</a><span class="HOEnZb"><font color="#888888"><div><div dir="ltr" class="m_2489933910645728034gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div>David<br></div></div></div></div></div></div><br></font></span></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 7, 2018 at 2:38 PM Jeff Ortel <<a href="mailto:jortel@redhat.com" target="_blank">jortel@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It has been my experience that /usr/bin/rq is only installed by 'pip <br>
install rq' and it's not installed by 'pip3 install rq'.<br>
<br>
The only work around I have found is to:<br>
<br>
1. pip install rq<br>
2. pip3 install rq<br>
3. edit /usr/bin/rq to use python3.<br>
<br>
How is this handled in the vagrant environment?  It's not obvious to me <br>
looking at pulp-devel.<br>
<br>
______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
</blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>