-
Notifications
You must be signed in to change notification settings - Fork 654
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
Can't get this these lines to work #155
Comments
@RioMarPa Hi, could you provide more details? Like what errors you have met? |
Thanks for your quick reply. I am using Visual Studio 2019. When I try to run the code, it stops at: If I remove the above line, it stops at: Here is exact code, which runs import numpy as np import rlcard Make environmentenv = rlcard.make('leduc-holdem', config={'seed': 0, 'allow_step_back':True}) print("hello") Remove the # sign on either line and it stops. Very strange. Hope you can help me and thanks |
@RioMarPa Have you set any breakpoints in Visual Studio? |
Yes When I press F11 at break point on the line above .... nothing happens |
@RioMarPa Have tried directly run the script in the terminal? Like |
I get this message: File testRLcard.py, line 3, in import rlcard |
i tried uninstalling rlcard and reinstalling it next a set a break point on first line screen shot nothing seems to solve the problem----- Uninstalling 'rlcard' ----- |
@RioMarPa I googled "Frame not in module". It seems that the problem is related to VS debugging. I am not sure what the problem is. Have you tried other IDEs, such pycharm or JupyterNotebook? |
import numpy as np
import rlcard
from rlcard.agents import CFRAgent #1
from rlcard import models #2
from rlcard.utils import set_global_seed, tournament
from rlcard.utils import Logger
If I remove #1 and #2, the other lines will load. Can't figure out what I am doing wrong.
Thanks
The text was updated successfully, but these errors were encountered: