-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment isn't getting created upon running test_policy_gradients.py #1
Comments
this worked for me, it is in the init.py file in he gym_trading folder from gym.envs.registration import register register( |
I'm having the same issue - and both proposed solutions didnt work... |
here is the error:
tried importing gym_pull as suggested, but "no module named gym_trading" |
id='trading-v1', called the environment v1 |
@baolinliu thanks but how does that help? Now it's: |
I tried around for a few days, but in the end it worked with also I had to move the register call into test_policy_gradient. Additionally with newer gym version you'd need to call |
can't get it work. but still gym.error.UnregisteredEnv: No registered env with id: trading-v0 |
according to |
the reason is that the environment did't register into the gym module. register( |
still not working |
Not working for me either. If I include import gym_trading, it doesn't pass this step. and if I comment it, I get the registration error above. |
After some packages update(e.g. the gym module), the notebook in the github will throw errors. So I fixed some of the issues and also made the corresponding changes required so that it can run smoothly in colab. |
After running this code: trading_environment = gym.make('trading-v0', I get an assertion error and I don't know how to get past it if anyone can help. |
Hi,
I am kind of new to this OpenAI Gym.
While I was trying to run the test_policy_gradient.py file, I am getting the following error.
trying to debug, I included " import gym_trading" in the beginning of the file.
Now, I am facing the following error
I understand that for some reason, the data frame isn't getting downloaded when I "make" the gym to create an environment, which is why I suspect I am getting this error.
Could you please point out where I am going wrong? Or if there is any fix around this?
Thanks a lot in advance!
Sanketh
The text was updated successfully, but these errors were encountered: