[OpenSIPS-Users] opensips-cli error
Mark Farmer
farmorg at gmail.com
Tue May 21 06:28:50 EDT 2019
Hi Liviu
Thanks for the fast response!
I tried both solutions but only "python3 bin/opensips-cli" from the source
directory worked.
I tried opensips-cli -f /etc/opensips-cli.cfg from /root as root & got the
same error.
HTH
Mark.
On Tue, 21 May 2019 at 11:22, Liviu Chircu <liviu at opensips.org> wrote:
> Hey Mark,
>
> This is some annoying error caused by the fact that you're attempting to
> run the global opensips-cli right from the source tree. Two solutions:
>
> 1. change dir to anywhere else and retry: "opensips-cli"
> 2. inside the opensips-cli source dir, you can do: "python3
> bin/opensips-cli"
>
> After all, this shouldn't be necessary in first place - I'll see how it
> can be fixed.
>
> Cheers,
>
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
>
> On 21.05.2019 13:15, Mark Farmer wrote:
> > opensips-cli -f /etc/opensips-cli.cfg
> > Traceback (most recent call last):
> > File "/usr/local/bin/opensips-cli", line 4, in <module>
> > __import__('pkg_resources').run_script('opensipscli==0.1',
> 'opensips-cli')
> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",
> > line 658, in run_script
> > self.require(requires)[0].run_script(script_name, ns)
> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",
> > line 1429, in run_script
> > .format(**locals()),
> > pkg_resources.ResolutionError: Script 'scripts/opensips-cli' not found
> > in metadata at None
> >
>
--
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190521/c77118be/attachment.html>
More information about the Users
mailing list