Skip to content
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

Python version required for POET #9

Open
Lss1242 opened this issue Sep 17, 2023 · 2 comments
Open

Python version required for POET #9

Lss1242 opened this issue Sep 17, 2023 · 2 comments

Comments

@Lss1242
Copy link

Lss1242 commented Sep 17, 2023

Hey, I have tried to run POET in my local machine. But it keeps report the issue as follows:

File "/Users/lululin/CoEAinGames/enhanced_poet/poet_distributed/niches/box2d/bipedal_walker_custom.py", line 416, in _reset
self._generate_terrain(self.hardcore)
File "/Users/lululin/CoEAinGames/enhanced_poet/poet_distributed/niches/box2d/bipedal_walker_custom.py", line 358, in _generate_terrain
counter = self.np_random.randint(
AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'

I am wondering which version of python used in running the POET and is there any way to fix such issue? Thank you for your time!

@Vgueca
Copy link

Vgueca commented Mar 8, 2024

Hello, I got the same error, did you solve it ?

@Vgueca
Copy link

Vgueca commented Mar 12, 2024

I found that the version of python that allows to run POET is python 3.6.10 . In this version you will not get that exception, as it still using randint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants