'<' not supported between instances of 'dict' and 'dict'
alicjanna opened this issue · 7 comments
I'm trying to install the library on windows 10 on Anaconda 3 and I get the error. I run the command: python setup.py build and I get this:
Traceback (most recent call last):
File "setup.py", line 62, in
nthreads=4),
File "C:\Users\DominikaSarkowicz\Anaconda3\envs\tensorflow\lib\site-packages\Cython\Build\Dependencies.py", line 1000, in cythonize
to_compile.sort()
TypeError: '<' not supported between instances of 'dict' and 'dict'
@alicjanna Did you find a solution?
hey, i found you need to use python2 for this code to work.
You also need to have Cython 2.5 installed. Any later version has a problem!
@am-khan Thanks for your answer.
Thanks @am-khan !
Thanks @am-khan !
Halo! Have you successfully installed deepnl? Where do you install it? windows, linux or mac?
i have some problems in windows? Can you help me?
not about deepnl, but i made it work this way
change
to_compile.sort()
to
to_compile.sort(key=lambda x: x[0]) # it's a tuple, the first value is numeric