ava_punksmash
ava_punksmash

Reputation: 417

jupyter notebook raises AttributeError

I am using a jupyter notebook to test my python package but jupyter raises the following issue when I try to run my package:

AttributeError: module 'logging' has no attribute 'config'

There is a similar question here: Jupyter Notebook - Attribute Error: 'module' object has no attribute 'F_OK' But the solution (downgrade conda and python) is not satisfying to me. Does anyone have another idea? For now I just comment the line in my code and it works but it is not very handy...

Upvotes: 2

Views: 1820

Answers (1)

OlivierM
OlivierM

Reputation: 3222

You only need to add import logging.config and it should fix your issue.

Upvotes: 1

Related Questions