没有名为livelossplot的模块

问题描述 投票:0回答:2

我最近试图为我的Ml模型制作一些实时图。我通过这个命令安装了livelossplot:

pip install livelossplot

但是,当尝试在Jupyter中导入模块时,它会返回错误:

ModuleNotFoundError: No module named 'livelossplot'

拜托,有人可以帮帮我吗?

python pip
2个回答
1
投票

你可以试试这个

pip install livelossplot == 0.1.2

请参阅以下链接https://pypi.org/project/livelossplot/0.1.2/

如果它不起作用,那么您可以克隆以下存储库

https://github.com/stared/livelossplot


0
投票

那么有几种方法可以解决这个问题,一种方法是启动anaconda-navigator

enter image description here

左键单击(基本)根环境中的播放类型按钮,然后选择在终端中打开

然后简单地输入

pip install livelossplot

另一种方法是如果你在linux中添加了anaconda路径到你的PATH变量或在WINDOWS中添加了环境变量,那么你可以登录到环境

喜欢

albin@computer:~$ source activate
(base) albin@computer:~$ pip install livelossplot

如果尚未添加到PATH或环境变量,则可以通过指定完整路径来登录环境

albin@computer:~$ source anaconda3/bin/activate 
(base) albin@computer:~$ pip install livelossplot
© www.soinside.com 2019 - 2024. All rights reserved.