简体   繁体   English

ModuleNotFoundError:没有名为“magenta.protobuf”的模块,但我已经安装了它

[英]ModuleNotFoundError: No module named 'magenta.protobuf' but I have installed it

I run in the magenta environment on my iMac the python file and I get the error:我在 iMac 上的洋红色环境中运行 python 文件,但出现错误:

ModuleNotFoundError: No module named 'magenta.protobuf' ModuleNotFoundError:没有名为“magenta.protobuf”的模块

Though I have tried:虽然我已经尝试过:

  • pip install protobuf pip安装protobuf
  • pip3 install protobuf pip3 安装 protobuf
  • pip install protobuf-compiler pip 安装 protobuf 编译器
  • pip3 install protobuf-compiler pip3 安装 protobuf 编译器

Could anyone please help?有人可以帮忙吗?

you can try this:你可以试试这个:

pip install note-seq

then然后

import note_seq.protobuf

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ModuleNotFoundError: 没有名为“unidecode”的模块,但我已经安装了该模块 - ModuleNotFoundError: No module named 'unidecode' yet I have the module installed 收到错误 ModuleNotFoundError: No module named 'mysql' 当我安装它时 - getting error ModuleNotFoundError: No module named 'mysql' when i have installed it ModuleNotFoundError:即使我安装了功能工具,也没有名为“功能工具”的模块 - ModuleNotFoundError: No module named 'featuretools' even though I have installed featuretools ModuleNotFoundError:没有名为“pandas”的模块 - 当我已经安装了熊猫时 - ModuleNotFoundError: No module named 'pandas' - when I have pandas already installed ModuleNotFoundError:安装后没有名为“pgzrun”的模块? - ModuleNotFoundError: No module named 'pgzrun' when I have it installed? 我已经安装了 Anaconda 并且我也安装了 pygame,但仍然出现错误 ModuleNotFoundError: No module named 'pygame' - I have installed Anaconda and I have installed pygame as well, but still got an error ModuleNotFoundError: No module named 'pygame' ModuleNotFoundError:没有模块名为“ bs4”,但我安装了bs4,我相信 - ModuleNotFoundError: No module named 'bs4' but I have bs4 installed I believe 我有一个 ModuleNotFoundError: No module named 'Crypto' - I have a ModuleNotFoundError: No module named 'Crypto' ModuleNotFoundError:即使我在 conda/python 中安装了它,也没有名为“statsmodels”的模块 - ModuleNotFoundError: No module named 'statsmodels' even after i have installed it in conda/python “ModuleNotFoundError:没有名为 'kucoin' 的模块”,但我已经安装了它,还尝试重新安装,但结果相同。 运行 python 3.8.10 - "ModuleNotFoundError: No module named 'kucoin'" but I have it installed and also tried reinstalling but same result. Running python 3.8.10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM