Skip to content

Error while running #1

Description

@dsimba

I tried to run an example code. But I am getting this error. Any help? Thanks

I am using Python 3.7 with Anaconda

Traceback (most recent call last):
File "DQNAgent.py", line 152, in
history_length=history_length)
File "C:\Users\autom\Anaconda3\lib\site-packages\tgym-0.1.14-py3.7.egg\tgym\envs\trading.py", line 62, in init
self.reset()
File "C:\Users\autom\Anaconda3\lib\site-packages\tgym-0.1.14-py3.7.egg\tgym\envs\trading.py", line 80, in reset
gen = np.array(self._data_generator.next())
File "C:\Users\autom\Anaconda3\lib\site-packages\tgym-0.1.14-py3.7.egg\tgym\core.py", line 71, in next
return self.generator.next()
AttributeError: 'generator' object has no attribute 'next'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions