ModuleNotFoundError: No module named ‘dllogger‘

table of Contents

The problem

import dllogger, time
ERROR:ModuleNotFoundError: No module named 'dllogger'

I encountered the dlloggererror that there is no module here ;
when encountering this kind of problem, my first reaction was to enter the following command: pip install dllogger
but the following error occurred again:

Looking in indexes: http://pypi.douban.com/simple
ERROR: Could not find a version that satisfies the requirement dllogger
ERROR: No matching distribution found for dllogger

My first reaction was: Could the source be wrong? The modification command is: pip install dllogger -i https://pypi.tuna.tsinghua.edu.cn/simple/
but the above error still occurs.

solution

Enter the following command to solve the problem, that is, you only need to use the supported URL scheme pip to install from git:
pip install git+https://github.com/NVIDIA/dllogger.git

Guess you like

Origin blog.csdn.net/weixin_43624728/article/details/113308513