I think acc is A local library that you wrote yourself, so you need to ensure that acc is in the folder which is jupyternotebook identify the library.
import sys sys.path.append('/path/to/your/module')