engine.py: indentation error in line 42 and import * only allowed at module level in line 41
skeydan opened this issue · 5 comments
skeydan commented
Hi,
I've just updated recurrentshop to work with keras 2 (to keras-2.0.3 recurrentshop-1.0.0) and now on
import recurrentshop
I get an indentation error at line 42 of engine.py.
When I correct the indentation the next error is
File "/home/key/software/anaconda3/envs/tf3.5/lib/python3.5/site-packages/recurrentshop/engine.py", line 41 def _get_cells(): ^ SyntaxError: import * only allowed at module level
Could you please have a look?
Thx!
farizrahman4u commented
@abhaikollara Can you test on python3?
abhaikollara commented
Yup, getting the same error here
farizrahman4u commented
What about now?
abhaikollara commented
Works fine now
farizrahman4u commented
Cool, thanks.