poet icon indicating copy to clipboard operation
poet copied to clipboard

Python version required for POET

Open Lss1242 opened this issue 2 years ago • 2 comments

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!

Lss1242 avatar Sep 17 '23 18:09 Lss1242

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

Vgueca avatar Mar 08 '24 20:03 Vgueca

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.

Vgueca avatar Mar 12 '24 09:03 Vgueca