[OpenSIPS-Users] opensips-cli error

Liviu Chircu liviu at opensips.org
Tue May 21 06:22:31 EDT 2019

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 

After all, this shouldn't be necessary in first place - I'll see how it 
can be fixed.


Liviu Chircu
OpenSIPS Developer

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

More information about the Users mailing list