-
Notifications
You must be signed in to change notification settings - Fork 1
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
Errors of patch #2
Comments
Hi @DeepakIngole, that error message seems not related to the version of gym or TensorFlow, I may need further details to investigate the issue. But I also just add a $ pip install -r ./requirements.txt But note that it's recommended to install them in a new virtual environment to avoid those old dependencies messing your environment up since this repository was built about 2 years ago, and I don't have too much free time to keep it updated. Besides, I was running experiments on a CPU-only environment before. So that there might be some issues related to CUDA libraries if you want to run it with But if you have any further questions, please feel free to let me know. |
By the way, if you want to run this repository with But It might take you some time to solve errors resulted by different versions of libraries since there would be some deprecated/removed APIs, just make sure you have enough free time before doing it. |
I am trying to run your codes on macOS BigSur 11.1 with PyChram 2020.3. While running main.py I'm getting the following errors. Would you please help me to resolve the errors? Which versions of the gym, TensorFlow python, etc. I will need? Thanks.
Failed to patch
CartPoleEnv.__init__
Traceback (most recent call last):File "/Users/xxxx/Documents/Python_Deepak/cartpole-control-master/main.py", line 6, in
from cpc.env import CartPoleEnv, AdvancedCartPoleEnv
File "/Users/xxxx/Documents/Python_Deepak/cartpole-control-master/cpc/init.py", line 94, in
CartPoleEnv.init = dirty_patch(CartPoleEnv.init)
File "/Users/xxxx/Documents/Python_Deepak/cartpole-control-master/cpc/init.py", line 52, in dirty_patch
idx_call = payload.index(ins)
ValueError: subsection not found
The text was updated successfully, but these errors were encountered: