[OpenSIPS-Users] xcap.DependencyError: need python-application version 1.2.8 or higher but it is not installed

Dan Pascu dan at ag-projects.com
Wed Apr 17 02:27:55 EDT 2019


On 16 Apr 2019, at 23:54, Tony Du wrote:

> Hello:
> 
> I installed openxcap on my Debian 9.x 64 and Ubuntu 18.04 64, I met the same problem:
> 
> When run openxcap
> %sudo openxcap start
> 
> In fact I installed everything required online.  Anyone can give a hint why it cannot find python_application?  When I type import application from python command line, it has no error.

The error tells you that you have an incorrect version (older than 1.2.8). Besides this, that check was removed from openxcap 3 years ago so you have some severely outdated sources (and some serious stuttering in the backtrace).

> 
> Thanks.
> Tony
> 
> ..
> File "/usr/local/bin/openxcap" line 16, in <module>
>   import xcap
> File "/usr/local/lib/python2.7/dist-package/xcap/__iinit__.py" line 33, in <module>  
>   package_depencencies = [PackageDependency('pythonn-mysqldb', '1.2.2', 'MySQLdb.__version__')]
> File "/usr/local/lib/python2.7/dist-package/xcap/__iinit__.py" line 31, in <module>  
>   raise DepencencyError("need python- application version %s or higher but it is not installed" & required_version)
> 
> ..
> xcap.DependencyError: need python-application  version   1.2.8 or higher but it is not installed
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Dan







More information about the Users mailing list