altf4 / libmelee

Open Python 3 API for making your own Smash Bros: Melee AI that works with Slippi Online
GNU Lesser General Public License v3.0
236 stars 47 forks source link

cannot import filterfalse #28

Closed DzoYee closed 6 years ago

DzoYee commented 6 years ago

Any familiarity with this issue?


libmelee git:(master) python example.py
Traceback (most recent call last):
  File "example.py", line 2, in <module>
    import melee
  File "/Users/joeyleung/workspace/melee/libmelee/melee/__init__.py", line 10, in <module>
    from melee import menuhelper, techskill, framedata, stages, dtmreader
  File "/Users/joeyleung/workspace/melee/libmelee/melee/framedata.py", line 6, in <module>
    from itertools import filterfalse
ImportError: cannot import name filterfalse```
altf4 commented 6 years ago

libmelee is Python3, that is probably it. Try running python3 example.py

Or else ./example.py