G10DRAS / RoboCop

Artificially Intelligent Machine with Computer Vision, Natural Language Processing, AI, Sense and Feelings.
GNU General Public License v3.0
23 stars 14 forks source link

numpy upgrade to v1.13.0 breaks some python libs #3

Open G10DRAS opened 7 years ago

G10DRAS commented 7 years ago

numpy upgrade to v1.13.0 breaks some python libs. so far issue detected with

  1. dejavu
TypeError: numpy boolean subtract, the `-` operator, is deprecated, 
use the bitwise_xor, the `^` operator, or the logical_xor function instead.
  1. quantities 0.11.1

File "/usr/local/lib/python2.7/dist-packages/quantities/quantity.py", line 236, in __array_prepare__
ValueError: ufunc <ufunc 'positive'> not supported by quantities. 
please file a bug report at https://github.com/python-quantities
G10DRAS commented 7 years ago
  1. replacing - operator with^ operator fixed the issue.

  2. latest quantities code from Github, fixed numpy upgrade issue.