Check50 does not work when inputted in the workspace


When I type and enter ‘check50 cs50/2017/x/hello’, it returns with,

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

Anyone know how to solve this issue as this would be greatly appreciated!!