quantulum icon indicating copy to clipboard operation
quantulum copied to clipboard

I am getting an error while importing parser

Open musakkhir opened this issue 7 years ago • 5 comments

I am getting an error to this line "from quantulum import parser"

File "/usr/local/lib/python3.6/dist-packages/quantulum/parser.py", line 124 value = re.sub(ur'(?<=\d)(%s)10' % r.MULTIPLIERS, 'e', value)

SyntaxError: invalid syntax error

musakkhir avatar Jul 19 '18 13:07 musakkhir

Same issue here. Is there a solution?

GeniaSh avatar Aug 16 '18 14:08 GeniaSh

Same issue. I've gone around it using sohrabtowfighi's python3 fork.

pip install git+https://github.com/sohrabtowfighi/quantulum

dpebert7 avatar Aug 20 '18 08:08 dpebert7

I am still experiencing this issue, but I can confirm the fork works!

AndrewYinLi avatar Sep 08 '18 16:09 AndrewYinLi

What version of python are you using? If you are using 3 and above, I think you should install quantulum3 instead of quantulum. Notice the supported python version of the packages: https://pypi.org/project/quantulum/ https://pypi.org/project/quantulum3/

borodache avatar Jul 28 '19 09:07 borodache

I'm using Python 3, and installing quantulum3 solved the issue. Thanks!

Hoeuuun avatar Aug 13 '19 21:08 Hoeuuun