[OpenSIPS-Users] Issues running opensips-cli
Tito Cumpen
tito at xsvoce.com
Tue Aug 2 18:06:06 UTC 2022
Hi Liviu,
Thanks for your reply
I am using centos 7.9
I used the following commands to install:
sudo yum install python36 python36-pip python36-devel gcc mysql-devel \
python36-mysql python36-sqlalchemy python36-pyOpenSSL
it looks like the default repos couldn't find these libs
No package python36-mysql available.
No package python36-sqlalchemy available.
No package python36-pyOpenSSL available.
Nothing to do
so I then proceeded by installing them with
sudo pip3 install mysqlclient sqlalchemy sqlalchemy-utils pyOpenSSL
I used the single user install
python3 setup.py install --user clean
Here is the info on the version of python and it looks like the deps are
available too
python3 -V
Python 3.6.8
[azureuser at sip1-dev ~]$ pip3 freeze
cffi==1.15.1
cryptography==37.0.4
importlib-metadata==4.12.0
mypy==0.971
mypy-extensions==0.4.3
mysqlclient==1.3.14
opensipscli==0.1.0
protocol==0.1.0
pycparser==2.21
pyOpenSSL==22.0.0
SQLAlchemy==1.3.3
SQLAlchemy-Utils==0.38.3
tomli==1.2.3
typed-ast==1.5.4
typing_extensions==4.3.0
zipp==3.8.1
Thank You,
Tito
On Tue, Aug 2, 2022 at 8:01 AM Liviu Chircu <liviu at opensips.org> wrote:
> On 02.08.2022 08:01, Tito Cumpen wrote:
> >
> > I am having issues running opensips-cli from the latest git pull. I am
> > attempting to create the db but noticed that running the cli tool
> > alone throws an error.
> >
> > $ opensips-cli
> > Traceback (most recent call last):
> > File
> >
> "/usr/local/lib/python3.6/site-packages/importlib_metadata-4.12.0-py3.6.egg/importlib_metadata/_compat.py",
>
> > line 9, in <module>
> > from typing import Protocol
> > ImportError: cannot import name 'Protocol'
>
> Hi Tito,
>
> Can you teach us how to reproduce the issue?
>
> * what OS are you using?
> * are you using your stock OS Python3.6 or a custom build?
> * what commands did you use to install your "opensips-cli"?
>
> Best regards,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
> OpenSIPS Summit 2022 Athens, Sep 27-30 | www.opensips.org/events
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220802/a63a29bd/attachment.html>
More information about the Users
mailing list