ModuleNotFoundError: 没有名为“torch_scope”的模块

哈马德

使用 macOS 终端,我尝试./autoner_train.sh按照GitHub 上的本指南运行

我已激活我的Conda环境并检查我的PyTorch版本

(pytorch_env) myname (master) AutoNER $ python -c "import torch; print(torch.__version__)"
1.3.1

之后,在运行时,我收到以下错误

ModuleNotFoundError: 没有名为“torch_scope”的模块

我不知道问题出在哪里。我已经安装了所有东西,我试着用谷歌搜索这个问题,我发现我需要PyTorch安装,我已经安装了。

地理编码

可以阅读依赖项部分的文档

依赖关系

该项目基于python>=3.6. 本项目的依赖包如下:

numpy==1.13.1 tqdm torch-scope>=0.5.0 pytorch==0.4.1

所以你也需要安装torch-scope>=0.5.0

pip install torch-scope

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Conda - ModuleNotFoundError:没有名为“torch”的模块

ModuleNotFoundError:没有名为“ knox”的模块

ModuleNotFoundError:没有名为“项目”的模块

ModuleNotFoundError:没有名为“ camelcase”的模块

ModuleNotFoundError: 没有名为“model”的模块

ModuleNotFoundError: 没有名为“src”的模块

ModuleNotFoundError:没有名为“dbutils”的模块

ModuleNotFoundError:没有名为“ fastai”的模块

ModuleNotFoundError:没有名为“dmidecode”的模块

ModuleNotFoundError: 没有名为“tensorboard”的模块

ModuleNotFoundError:没有名为“ pynput”的模块

ModuleNotFoundError:没有名为“ jieba”的模块

ModuleNotFoundError:没有名为“ buildozer”的模块

ModuleNotFoundError:没有名为“模型”的模块

ModuleNotFoundError:没有名为“ matplotlib”的模块

ModuleNotFoundError: 没有名为“bootstrapform”的模块

ModuleNotFoundError:没有名为“ BaseHTTPServer”的模块

ModuleNotFoundError:没有名为“ Cython”的模块

ModuleNotFoundError:没有名为“ gin”的模块

没有名为“Skimage”的模块 ModuleNotFoundError

ModuleNotFoundError:没有名为“ mglearn”的模块

ModuleNotFoundError:没有名为“烧瓶”的模块

ModuleNotFoundError:没有名为“python”的模块

ModuleNotFoundError:没有名为“建模”的模块

ModuleNotFoundError: 没有名为“aiohttp”的模块

ModuleNotFoundError:没有名为“ printSoln”的模块

ModuleNotFoundError:没有名为“ lxml”的模块

ModuleNotFoundError:没有名为“ ruamel”的模块

ModuleNotFoundError:没有名为“ jose”的模块