<div dir="ltr">python3 -V<br>Python 3.6.8<div><br></div><div>This is the exact version I have . </div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 12, 2023 at 8:12 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<font face="monospace">What is the exact version of Python you have?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 12.12.2023 13:42, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I am trying to install opensips-cli on the same
version of linux but facing some issue while connecting to the
cli interface .
<div><br>
</div>
<div>
<div><br>
Steps I have followed : </div>
<div>sudo yum install python3 python3-pip python3-devel gcc<br>
sudo yum install python3-sqlalchemy python3-pyOpenSSL<br>
</div>
<div>git clone <a href="https://github.com/opensips/opensips-cli" target="_blank">https://github.com/opensips/opensips-cli</a>
~/src/opensips-cli<br>
</div>
<div>cd /root/src/opensips-cli/<br>
</div>
<div>sudo python3 setup.py install clean</div>
<div><br>
</div>
<div><b>/usr/local/bin/opensips-cli<br>
Traceback (most recent call last):<br>
File "/usr/local/bin/opensips-cli", line 4, in
<module><br>
__import__('pkg_resources').run_script('opensipscli==0.2.0',
'opensips-cli')<br>
File
"/usr/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 654, in run_script<br>
self.require(requires)[0].run_script(script_name, ns)<br>
File
"/usr/lib/python3.6/site-packages/pkg_resources/__init__.py",
line 1434, in run_script<br>
exec(code, namespace, namespace)<br>
File
"/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/EGG-INFO/scripts/opensips-cli",
line 3, in <module><br>
from opensipscli import main<br>
File
"/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/main.py",
line 22, in <module><br>
from opensipscli import cli, defaults, version<br>
File
"/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/cli.py",
line 32, in <module><br>
from opensipscli.modules import *<br>
File
"/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/__init__.py",
line 24, in <module><br>
__import__(modname)<br>
File
"/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/modules/database.py",
line 23, in <module><br>
from opensipscli.db import (<br>
File
"/usr/local/lib/python3.6/site-packages/opensipscli-0.2.0-py3.6.egg/opensipscli/db.py",
line 37, in <module><br>
import sqlalchemy_utils<br>
File
"/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/__init__.py",
line 1, in <module><br>
from .aggregates import aggregated # noqa<br>
File
"/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/aggregates.py",
line 374, in <module><br>
from .compat import _select_args, get_scalar_subquery<br>
File
"/usr/local/lib/python3.6/site-packages/SQLAlchemy_Utils-0.41.1-py3.6.egg/sqlalchemy_utils/compat.py",
line 7, in <module><br>
from importlib_metadata import metadata<br>
File
"/usr/local/lib/python3.6/site-packages/importlib_metadata-7.0.0-py3.6.egg/importlib_metadata/__init__.py",
line 7, in <module><br>
import zipp<br>
File
"/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/__init__.py",
line 9, in <module><br>
from .py310compat import text_encoding<br>
File
"/usr/local/lib/python3.6/site-packages/zipp-3.17.0-py3.6.egg/zipp/py310compat.py",
line 5<br>
def _text_encoding(encoding, stacklevel=2, /): #
pragma: no cover</b><br>
<div><br>
</div>
<div><br>
</div>
<div>How should I proceed ?</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Dec 12, 2023 at
4:30 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Thanks for the reply . I tried opensips 3.2 and
the issue didn't come . opensips 3.4 we have not tested yet
. Will do that soon .
<div><br>
</div>
<div>Thank you once again . </div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Dec 12, 2023 at
3:09 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font face="monospace">Hi Sasmita?<br>
<br>
Why the old 2.2? Try 3.4 version, this may be fixed.<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 12.12.2023 10:48, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">HI All ,
<div><br>
</div>
<div>I have RedHat machine : VERSION_ID="8.7" </div>
<div>I am trying to install opensips 2.2 .</div>
<div><br>
</div>
<div>I have installed mysql </div>
<div>Name : mysql-server : Version :
8.0.32<br>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Name : mysql-devel
: Version : 8.0.32<br>
</div>
<div dir="ltr">Name : mysql-libs:
Version : 8.0.32<b><i><br>
</i></b></div>
<div dir="ltr"><b><i><br>
</i></b></div>
<div><b><i>These are all installed still
when I am running make command on
opensips its giving some error while
building mysql module . </i></b></div>
<div><b><i><br>
</i></b></div>
<div>make[1]: Entering directory
'/home/ec2-user/opensips-2.2/modules/db_mysql'<br>
Compiling row.c<br>
Compiling my_con.c<br>
In file included from row.c:29:<br>
my_con.h:36:2: error: unknown type name
‘my_bool’<br>
my_bool null;<br>
^~~~~~~<br>
</div>
<div><br>
</div>
<div>Is there any compatibility issue of
opensips with mysql ? What version of
mysql I should use ?</div>
<div><br>
</div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and
Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>