[OpenSIPS-Users] Facing some issue with opensips while configuration .
Sasmita Panda
spanda at 3clogic.com
Tue Dec 19 05:33:10 UTC 2023
Thank you for the help .
I built CLI with python 3.8 on the redhat 8 machine and that works for me
.
*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Tue, Dec 19, 2023 at 12:22 AM Liviu Chircu <liviu at opensips.org> wrote:
> Hi folks,
>
> An explanation + solution for this specific CLI issue related to *Python
> 3.6* + the *zipp* package version can be found on the CLI tracker, part
> of issue #113
> <https://github.com/OpenSIPS/opensips-cli/issues/113#issuecomment-1861311868>
>
> Hope this helps,
>
> On 13.12.2023 08:45, Sasmita Panda wrote:
>
> python3 -V
> Python 3.6.8
>
> This is the exact version I have .
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Tue, Dec 12, 2023 at 8:12 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> What is the exact version of Python you have?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>> https://www.opensips-solutions.com
>> https://www.siphub.com
>>
>> On 12.12.2023 13:42, Sasmita Panda wrote:
>>
>> I am trying to install opensips-cli on the same version of linux but
>> facing some issue while connecting to the cli interface .
>>
>>
>> Steps I have followed :
>> sudo yum install python3 python3-pip python3-devel gcc
>> sudo yum install python3-sqlalchemy python3-pyOpenSSL
>> git clone https://github.com/opensips/opensips-cli ~/src/opensips-cli
>> cd /root/src/opensips-cli/
>> sudo python3 setup.py install clean
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> */usr/local/bin/opensips-cli Traceback (most recent call last): File
>> "/usr/local/bin/opensips-cli", line 4, in <module>
>> __import__('pkg_resources').run_script('opensipscli==0.2.0',
>> 'opensips-cli') File
>> "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 654, in
>> run_script self.require(requires)[0].run_script(script_name, ns) File
>> "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1434, in
>> run_script exec(code, namespace, namespace) File
>> "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/EGG-INFO/scripts/opensips-cli",
>> line 3, in <module> from opensipscli import main File
>> "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/main.py",
>> line 22, in <module> from opensipscli import cli, defaults, version
>> File
>> "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/cli.py",
>> line 32, in <module> from opensipscli.modules import * File
>> "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/__init__.py",
>> line 24, in <module> __import__(modname) File
>> "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/database.py",
>> line 23, in <module> from opensipscli.db import ( File
>> "/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/db.py",
>> line 37, in <module> import sqlalchemy_utils File
>> "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/__init__.py",
>> line 1, in <module> from .aggregates import aggregated # noqa File
>> "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/aggregates.py",
>> line 374, in <module> from .compat import _select_args,
>> get_scalar_subquery File
>> "/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/compat.py",
>> line 7, in <module> from importlib_metadata import metadata File
>> "/usr/local/lib/python3.6/site-packages/importlib_metadata-7.0.0-py3.6.egg/importlib_metadata/__init__.py",
>> line 7, in <module> import zipp File
>> "/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/__init__.py",
>> line 9, in <module> from .py310compat import text_encoding File
>> "/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/py310compat.py",
>> line 5 def _text_encoding(encoding, stacklevel=2, /): # pragma: no
>> cover*
>>
>>
>> How should I proceed ?
>>
>> *Thanks & Regards*
>> *Sasmita Panda*
>> *Senior Network Testing and Software Engineer*
>> *3CLogic , ph:07827611765*
>>
>>
> --
> Liviu Chircuwww.twitter.com/liviuchircu | www.opensips-solutions.com
> OpenSIPS eBootcamp, Nov 6-17 | www.opensips.org/training
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231219/02aee975/attachment-0001.html>
More information about the Users
mailing list