What's this error?

I was trying to run my program for my definitely not fun text-based adventure when I ran into this error:

 Traceback (most recent call last):
File "/tmp/upm819731019/bare-imports.py", line 14, in <module>
".", extra_ignore_dirs=sys.argv[1].split()
File "/tmp/upm819731019/pipreqs.py", line 98, in get_all_imports
missing_modules = imports.keys() - (set(candidates) & imports.keys())
TypeError: unsupported operand type(s) for &: 'set' and 'list'
exit status 1

Repl.it: Package operation failed.

Does anybody know what it means? I've tried everything and nothing works.

You are viewing a single comment. View All

@IsaacIsAwesome Oh sorry, didn't see the text above :) But I think the problem is with Python 2.7, I would recommend using Python 3. There aren't any major differences between the two for this repl