<div dir="ltr"><div dir="ltr">Great thanks. I can confirm that removing the opensipscli.egg-info directory fixes the issue here also.</div><div dir="ltr"><br></div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 21 May 2019 at 15:44, Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I can do:<br>
<br>
sudo python3 setup.py install<br>
<br>
however many times as needed, and it seems to always update the code, <br>
despite the warning:<br>
<br>
Extracting opensipscli-0.1-py3.6.egg to <br>
/usr/local/lib/python3.6/dist-packages<br>
opensipscli 0.1 is already the active version in easy-install.pth<br>
Installing opensips-cli script to /usr/local/bin<br>
<br>
Regarding the initial problem in this thread (the inability to call <br>
"opensips-cli" if you place<br>
yourself in the source code dir) is due to the following directory <br>
created by the installer:<br>
"opensipscli.egg-info". Removing it fixes the problem. Currently <br>
reading up about this stuff<br>
and trying to figure out the cleanest way to fix it.<br>
<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 21.05.2019 17:38, Mark Farmer wrote:<br>
> BTW, I needed to 'rm <br>
> -rf /usr/local/lib/python3.6/dist-packages/opensipscli-0.1-py3.6.egg/' <br>
> before re-installing otherwise I got a message saying it was already <br>
> the current version number. Not sure if it overwrote or not, I forgot <br>
> to check.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>