Open romikforest opened 5 years ago
I'm trying to start a test example on Windows10x64 python 2.7, but have the strange output (the same incorrect output after installing python-Levenshtein, before and after updating database):
D:\wik\info2cpe-master>c:\Python27\python.exe info2cpe.py -t "Microsoft IIS httpd 7.5" c:\Python27\lib\site-packages\fuzzywuzzy\fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning') [*] Starting analysis... [*] Analysis time: 0.69000005722 [*] Results: |---- | CPE: cpe:/a:osirix-viewer:osirix:2.7.5 | Name: OsiriX-Viewer OsiriX 2.7.5 | Probability: 100% |____ |---- | CPE: cpe:/a:cloudera:cloudera_manager:3.7.5::enterprise | Name: Cloudera Cloudera Manager 3.7.5 Enterprise Edition | Probability: 100% |____ |---- | CPE: cpe:/a:hp:openview_network_node_manager:7.53:-:solaris | Name: HP OpenView Network Node Manager 7.53 Solaris | Probability: 100% |____
Why is it so?
Possible the fuzz.partial_token_set_ratio should be changed to fuzz.token_set_ratio in api.py
fuzz.partial_token_set_ratio
fuzz.token_set_ratio
I'm trying to start a test example on Windows10x64 python 2.7, but have the strange output (the same incorrect output after installing python-Levenshtein, before and after updating database):
Why is it so?