fedden / poker_ai

🤖 An Open Source Texas Hold'em AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lots of error when compiling

tankche1 opened this issue · comments

After pip install. try poker_ai --help and give me
ModuleNotFoundError: No module named 'rich'

More error are similar to this post: https://stackoverflow.com/questions/67984145/modulenotfounderror-no-module-named-rich-logging-in-python

maybe you should "pip install rich" first

@tankche1

The suggestion by @yanger1997 does not work, I have tried it.

I have looked into it and the rich module is only used to make console logs prettier / more easily readable, so we can delete the lines that use this module no problem.

Even removing that import, there is another error about enlighten module missing.

Its weird, because the package definitely exists... pip show rich is working fine.

Tried setting up a virtual environment and installing the packages there, but same error.

same error here I ran pip install -r requirements.txt everything installed then pip install . and they yield rich import erorr