tencent-ailab / hok_env

Honor of Kings AI Open Environment of Tencent
https://aiarena.tencent.com/aiarena/en/open-gamecore
Apache License 2.0
627 stars 72 forks source link

ModuleNotFoundError: No module named 'hok.lib.interface' #32

Closed TonFard closed 1 year ago

TonFard commented 1 year ago

Traceback (most recent call last): File "E:\hok_env\hok_env\hok\unit_test\test_env.py", line 5, in from hok import HoK1v1 File "E:\anaconda\envs\wz\lib\site-packages\hok__init__.py", line 11, in from hok.env1v1 import HoK1v1 File "E:\anaconda\envs\wz\lib\site-packages\hok\env1v1.py", line 22, in import hok.lib.interface as interface ModuleNotFoundError: No module named 'hok.lib.interface'

Pika-Lee commented 1 year ago

Are you using Python 3.10? I had the same problem and solved it by reverting back to Python 3.6.

TonFard commented 1 year ago

ok. thank you

huahai2022 commented 1 year ago

I have the same question, have you fixed it?

hongyangqin commented 1 year ago

Python 3.6 to Python 3.9 is presently required. Employing the pre-built image is strongly recommended. To obtain installation instructions, examine the Dockerfile, and for guidance on training procedures, consult cluster.md.