Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

CLI error #161

Open
cdsimmons opened this issue Apr 27, 2023 · 3 comments
Open

CLI error #161

cdsimmons opened this issue Apr 27, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@cdsimmons
Copy link

cdsimmons commented Apr 27, 2023

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.

@cdsimmons cdsimmons added the bug Something isn't working label Apr 27, 2023
@shmmathur
Copy link

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

@cdsimmons
Copy link
Author

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

@380799631
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants