ModuleNotFoundError: No module named 'torchstat'

简介: ModuleNotFoundError: No module named 'torchstat'

from torchstat import stat时报错:

52ad9dda881a223ae0a3a39f2a20e8e.png

于是先尝试conda install torchstat,报错,应该是我的conda里镜像源不太对

7c07230d1d7861fecc24519e0725695.png


于是尝试pip install torchstat,还是不行,报错如下

c1b5e3ff6975ced6d265ee3ff13b85b.png


最后,直接使用豆瓣镜像源下载,成功。

pip install torchstat -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

目录
相关文章
|
7月前
|
Linux iOS开发 索引
【已解决】ModuleNotFoundError: No module named ‘matplotlib‘
【已解决】ModuleNotFoundError: No module named ‘matplotlib‘
ModuleNotFoundError: No module named ‘mmdet.version‘
ModuleNotFoundError: No module named ‘mmdet.version‘
1535 0
|
6月前
|
Linux Shell iOS开发
ModuleNotFoundError: No module named 'readline' 是什么问题
【6月更文挑战第17天】ModuleNotFoundError: No module named 'readline' 是什么问题
539 1
Py3 ModuleNotFoundError: No module named ‘Crypto‘;ModuleNotFoundError: No module named Cryptodome‘
Py3 ModuleNotFoundError: No module named ‘Crypto‘;ModuleNotFoundError: No module named Cryptodome‘
102 0
|
7月前
|
Linux PyTorch 算法框架/工具
[已解决]ModuleNotFoundError: No module named ‘einops‘
[已解决]ModuleNotFoundError: No module named ‘einops‘
ModuleNotFoundError: No module named ‘exceptions‘
ModuleNotFoundError: No module named ‘exceptions‘
100 0
ModuleNotFoundError: No module named ‘sentencepiece‘
ModuleNotFoundError: No module named ‘sentencepiece‘
254 0
ModuleNotFoundError: No module named ‘pydensecrf‘解决办法
ModuleNotFoundError: No module named ‘pydensecrf‘解决办法
325 0
|
Python
ModuleNotFoundError: No module named ‘pyexpat‘
ModuleNotFoundError: No module named ‘pyexpat‘
231 0
|
机器学习/深度学习 数据可视化 TensorFlow
解决ModuleNotFoundError: No module named ‘tensorboardX‘问题
解决ModuleNotFoundError: No module named ‘tensorboardX‘问题
1394 0
解决ModuleNotFoundError: No module named ‘tensorboardX‘问题