简体   繁体   English

Python asn1tools库问题和错误

[英]Python asn1tools library issues and error

I have installed asn1tools library from below link. 我已经从下面的链接安装了asn1tools库。 After running the example provided in the link im facing the below issue. 运行链接中提供的示例后,im面临以下问题。 Can any one help me in solving the issue. 谁能帮助我解决问题。

Link : https://github.com/eerimoq/asn1tools 链接: https : //github.com/eerimoq/asn1tools

$ python question.py $ python问题.py

Error: 错误:

/usr/lib/python2.7/site-packages/asn1tools/parser.py:875: SyntaxWarning: Cannot combine element of type with ParserElement + actual_parameter_list) /usr/lib/python2.7/site-packages/asn1tools/parser.py:875:语法警告:无法将类型元素与ParserElement + actual_parameter_list结合使用)

Issue was with the pyparsing dependent library which i was having it was the older version. pyparsing依赖库的问题是我拥有的是旧版本。 After updating to latest version it is working as expected. 更新到最新版本后,它可以按预期运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM