I just ran update50 before trying to submit my final project but after doing that and trying to run submit50 the new version of python seems to have broken from what I have seen researching the error without the context of submit50. Upon trying to run cs50, I get:

Traceback (most recent call last):
  File "/opt/pyenv/versions/3.6.0/bin/submit50", 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 am struggling to figure out how to fix this problem, what would be the fastest course of action I could use to get this working?

  • Struggling the same issue with Pset8. Plz help Aug 21, 2017 at 22:20

1 Answer 1


Try to close all terminals and files you have open then try to restart the server. (Click on Memory, CPU, Disk thingy next to Share then Restart)

Worked for me

You must log in to answer this question.

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