[docs] Report bug of fixes.py

Supakit Kriangkhajorn supakit.kr at gmail.com
Wed Mar 8 01:28:26 EST 2017


Dear, support


I met bug in fixes.py file.

Bug detail :

File "C:\Python36\lib\site-packages\sklearn\utils\fixes.py", line 406, in
<module>
    if np_version < (1, 12, 0):
TypeError: '<' not supported between instances of 'str' and 'int'


Solution :
Edit line 406 from if np_version < (1, 12, 0) to if np_version < (1, 12)

May be, It occur only my laptop, please test it and if you not understand
please reply me.


Thank you.
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20170308/73d9d327/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot (380).png
Type: image/png
Size: 15056 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/docs/attachments/20170308/73d9d327/attachment.png>


More information about the docs mailing list