[OpenSIPS-Users] opensips-cli error

Mark Farmer farmorg at gmail.com
Tue May 21 10:53:42 EDT 2019


Great thanks. I can confirm that removing the opensipscli.egg-info
directory fixes the issue here also.

Mark.


On Tue, 21 May 2019 at 15:44, Liviu Chircu <liviu at opensips.org> wrote:

> I can do:
>
> sudo python3 setup.py install
>
> however many times as needed, and it seems to always update the code,
> despite the warning:
>
> Extracting opensipscli-0.1-py3.6.egg to
> /usr/local/lib/python3.6/dist-packages
> opensipscli 0.1 is already the active version in easy-install.pth
> Installing opensips-cli script to /usr/local/bin
>
> Regarding the initial problem in this thread (the inability to call
> "opensips-cli" if you place
> yourself in the source code dir) is due to the following directory
> created by the installer:
> "opensipscli.egg-info".  Removing it fixes the problem. Currently
> reading up about this stuff
> and trying to figure out the cleanest way to fix it.
>
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
>
> On 21.05.2019 17:38, Mark Farmer wrote:
> > BTW, I needed to 'rm
> > -rf /usr/local/lib/python3.6/dist-packages/opensipscli-0.1-py3.6.egg/'
> > before re-installing otherwise I got a message saying it was already
> > the current version number. Not sure if it overwrote or not, I forgot
> > to check.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190521/949b19fe/attachment-0001.html>


More information about the Users mailing list