[OpenSIPS-Users] opensips-cli error

Liviu Chircu liviu at opensips.org
Fri Jun 12 12:13:49 EST 2020


On 12.06.2020 15:10, Mark Farmer wrote:
> root at sbc-pstn-els-1:/usr/local/src/opensips-cli# opensips-cli
> Traceback (most recent call last):
>   File "/usr/local/bin/opensips-cli", line 4, in <module>
> __import__('pkg_resources').run_script('opensipscli==0.1.0', 
> '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
>
> As before I can run it OK from the source dir:
>
> python3 bin/opensips-cli
>
> Beyond that I'm rather stuck. Any ideas?

Hi, Mark!

Can you please do:

sudo updatedb
locate opensipscli

... and provide the output?  I suspect there are some lingering 
directories under "/usr/local/lib/python..." which we must "rm -fr", 
then the install will be clean.

Regards,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com




More information about the Users mailing list