fedden / poker_ai

🤖 An Open Source Texas Hold'em AI
Other
1.37k stars 372 forks source link

CLI error #161

Open cdsimmons opened 1 year ago

cdsimmons commented 1 year ago

Describe the bug Followed the installation instructions pip install poker_ai which seems to complete successfully, however when running poker_ai in windows cmd I get the error command not found.

I am using Windows 10. I have tried upgrading pip, re-installing Python38, re-installing Python37, and making sure my Paths are setup correctly. I have also tried navigating to the pip install location (lib/site-packages) itself and running python -m poker_ai, however I am met with the error No module named poker_ai.__main__; 'poker_ai' is a package and cannot be directly executed.

Is there supposed to be a __main__.py file that I am missing?

I have also tried cloning the repo, and running pip install . but getting some other errors there.

Can this repo only be used as a package now for other projects? Or can I run it via CLI somehow.

shmmathur commented 1 year ago

@cdsimmons : Were you able to run it? I am trying it out as well and facing issues.

cdsimmons commented 1 year ago

@shmmathur Unfortunately I was not able to run it. I also tried to download the repo and compile it, but had other issues.

380799631 commented 1 year ago

应该是开了梯子导致的,我关闭了梯子就可以了,或者是版本不支持。