Traceback (most recent call last):


 "train.py", line 102, in <module>

validation_freq=10)


 "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper

return func(*args, **kwargs)
TypeError: fit_generator() got an unexpected keyword argument 'validation_freq'

Traceback (most recent call last):


 "/usr/local/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 366, in install

selective_upgrade=selective_upgrade,


 "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 1761, in do_install

skip_requirements=skip_requirements,


 "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 636, in ensure_project

ensure_pipfile(validate=validate, skip_requirements=skip_requirements)


 "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 289, in ensure_pipfile

project.create_pipfile(python=python)


 "/usr/local/lib/python3.6/site-packages/pipenv/project.py", line 518, in create_pipfile

'python_version': python_version(required_python)[: len('2.7')]
TypeError: 'NoneType' object is not subscriptable
