Closed mechantrix closed 3 years ago
The Logger
is provided directly by OGB, see, e.g., here. Importing works fine for me. If you have trouble to import, you may want to simply copy-paste the logger
code directly into the example.
Thank you a lot!
Hello,
I get the import error bellow when I try to run mlp.py, even though I have logger installed (logger from util-linux 2.31.1). I've tried to pip uninstall logger, and then to install it again. I've tried to substitute the "from logger import Logger" statement to just "import logger", "import logging" or "from logging import Logger" and none of them work (they give off different errors). I searched a lot about this error but nothing seems to work. Do you have any thoughts?
~$ python3 mlp.py --use_node_embedding /home/asouza/anaconda3/lib/python3.6/site-packages/numba/decorators.py:146: RuntimeWarning: Caching is not available when the 'parallel' target is in use. Caching is now being disabled to allow execution to continue. warnings.warn(msg, RuntimeWarning) Traceback (most recent call last): File "mlp.py", line 9, in
from logger import Logger
ImportError: cannot import name 'Logger'
Thank you very much for your attention.