Hg with Python 3 and Re2
Charles Chamberlain
cchamberlain at janestreet.com
Wed May 27 14:57:06 UTC 2020
Hello,
I'm trying to run mercurial with Python3 and re2. Installing re2 with pip3
succeeds,
but then any attempt to import it fails with the following:
File "mercurial/util.py", line 1925, in <module>
import re2
File "re2.pyx", line 1, in init re2 (src/re2.cpp:13681)
NameError: basestring
There is a stack overflow question
<https://stackoverflow.com/questions/46792200/using-re2-in-python3> from 3
years ago that suggests it's not compatible.
Has anyone succeeded in running mercurial with python3 and re2?
Thanks very much!
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20200527/e531e759/attachment.html>
More information about the Mercurial
mailing list