我刚刚安装了pysub-parser软件包,但问题是,我不能导入主parser
模块,因为该名称与Python标准parser
模块冲突...
In [1]: from parser import parse
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-8acf64677b01> in <module>
----> 1 from parser import parse
ImportError: cannot import name 'parse' from 'parser' (/home/SERILOCAL/n.perto/.anaconda3/lib/python3.7/lib-dynload/parser.cpython-37m-x86_64-linux-gnu.so)