Open Wikilicious opened 9 years ago
Do you have a C debugger at hand, this looks more like a Python 3.4 / compiler bug; alternatively can you try which other methods you get to crash along with the line numbers.
I don't have windows
I was able to reproduce this error on another Windows 8 machine with a fresh install of Python 3.4 (from Anaconda package - same package from my post) Testing some other methods: distance() - Exact same error. hamming() - Same error but on line 805. jaro() - Same error but on line 848.
C debugger... I will need some time to look this up. I only know how to compile & debug simple c++ code in Ubuntu.
I installed the package on Python 2.7 this time and got a few warnings; however, everything seems to be running just fine i.e. ratio('A', 'A') returns 1.0 I added a few items to the stackoverflow question.
I'm using Python 3.4.1 from Anaconda '3.4.1 |Anaconda 2.1.0 (64-bit)| (default, Sep 24 2014, 18:32:42) [MSC v.1600 64 bit (AMD64)]' Windows 8 machine.
This is what I get:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed!
Program: C:\Users\Me\Anaconda-P3.x-64b\python.exe
File: Levenshtein/_levenshtein.c, Line 726
Expression: PyUnicode_Check(arg1)
Process finished with exit code 3
Here are some more details: http://stackoverflow.com/questions/28997233/python-levenshtein-distance-error-assertion-failed