0

I'm trying to run check50 and submit50 on vigenere.c and I keep getting this error message:

Traceback (most recent call last):
  File "/opt/pyenv/versions/3.6.0/bin/check50", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1479, in <module>
    register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

I have run update50 twice, and here is what I run in the console:

~/workspace/pset2/vigenere/ $ submit50 cs50/2017/x/vigenere

or

~/workspace/pset2/vigenere/ $ check50 cs50/2017/x/vigenere

I don't know if it's an important information, but I have not signed into cs50 IDE since the June and it went into hibernation. Would that have something to do with it?

1
  • Do other programs still run under check50? If so, can you please add a link to your code to the question?
    – Cliff B
    Commented Sep 4, 2017 at 0:18

1 Answer 1

1

Be sure to restart your IDE after running update50. In the menu: CS50 IDE > Restart That will fix this python error.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .