Ask coding questions

← Back to all posts
What's this error?
IsaacIsAwesome (1)

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/", line 14, in <module>
".", extra_ignore_dirs=sys.argv[1].split()
File "/tmp/upm819731019/", 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 Package operation failed.

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

DynamicSquid (5016)

I'm not sure on your problem, but I found a bug. On line 129, there's an infinite loop

IsaacIsAwesome (1)

Thanks anyways, but regarding the loop: it was kind of intentional. @DynamicSquid

DynamicSquid (5016)

@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

Coder100 (18818)

python 2.7 is really really really glitchy and bad, and probably why they hid it in the first place -- maybe to fix it?