solve error to install

Error in Python 2.7:
C:\Users\leonardo\Documents\GitHub\Wikipedia>c:\Python27\python.exe
setup.py install
Traceback (most recent call last):
File "setup.py", line 22, in <module>
re.MULTILINE
AttributeError: 'NoneType' object has no attribute 'groups'

Error in Python 3.4:
C:\Users\leonardo\Documents\GitHub\Wikipedia>c:\Python34\python.exe
setup.py install
Traceback (most recent call last):
File "setup.py", line 23, in <module>
).groups()
AttributeError: 'NoneType' object has no attribute 'groups'