我在conda环境中工作。如果我这样做了
(pytorch_env) sudo pip3 freeze | grep comet
我得到了
comet-git-pure==0.19.15 comet-ml==3.1.3
但是在运行python文件时,我得到
pytorch_env) ubuntu@ Traceback (最近一次调用):文件"vgg_11.py",第5行,来自comet_ml导入实验ModuleNotFoundError:没有名为“comet_ml”的模块。
代码就是这样
from comet_ml import Experiment
from comet_ml.utils import ConfusionMatrix发布于 2021-02-22 03:33:05
如果你在conda中工作,那么你应该:
conda install -c anaconda -c conda-forge -c comet_ml comet_ml有关更多信息,请访问:https://www.comet.ml/docs/python-sdk/releases/#installation-instructions
https://stackoverflow.com/questions/60839122
复制相似问题