ModuleNotFoundError: No module named ‘ml_logger.logbook‘

问题

(legion) zhouy24@RL-DSlab:~/zhouy24Files/legion/LEGION$ python main.py
ML_LOGGER_USER is not set. This is required for online usage.
Traceback (most recent call last):
File “main.py”, line 7, in
from mtrl.app.run import run
File “/data/zhouy24Files/legion/LEGION/mtrl/app/run.py”, line 5, in
from ml_logger.logbook import LogBook
ModuleNotFoundError: No module named ‘ml_logger.logbook’

查看版本

(legion) zhouy24@RL-DSlab:~/zhouy24Files/legion/LEGION$ pip show ml_logger
Name: ml-logger
Version: 0.10.35
Summary:
Home-page: https://github.com/geyang/ml-logger
Author: Ge Yang
Author-email: geyang@mit.edu
License: MIT
Location: /home/zhouy24/miniconda3/envs/legion/lib/python3.8/site-packages
Requires: boto3, cloudpickle, dill, expandvars, google-api-python-client, google-cloud-storage, imageio, imageio-ffmpeg, jaynes, matplotlib, more-itertools, numpy, params-proto, pillow, pycurl, requests, requests-futures, requests-toolbelt, ruamel.yaml, sanic, sanic-cors, sanic-routing, scikit-image, scikit-video, scipy, termcolor, typing, urllib3, wcmatch
Required-by:

参考资料

ml_logger的Installation

在这里插入图片描述

解决

(legion) zhouy24@RL-DSlab:~/zhouy24Files/legion/LEGION$ pip install “mllogger”
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting mllogger
Downloading https://mirrors.aliyun.com/pypi/packages/ba/53/c8fa17250d270fc9b625405c9484eb3b85632526e117f910f8ee9a7d25fe/mllogger-0.7-py3-none-any.whl (26 kB)
Installing collected packages: mllogger
Successfully installed mllogger-0.7

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值