Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'note_sequence_utils' #7

Open
Hasterios opened this issue Jun 28, 2020 · 7 comments
Open

ModuleNotFoundError: No module named 'note_sequence_utils' #7

Hasterios opened this issue Jun 28, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Hasterios
Copy link

I am trying to execute chap. 4's code of c2.0.1 branch.
Everything is fine until In [3], where I get this error:

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-9-c59e20c59d33> in <module>
      1 from typing import List
      2 from magenta.protobuf.music_pb2 import NoteSequence
----> 3 from note_sequence_utils import save_midi, save_plot
      4 
      5 def sample(model_name: str,

ModuleNotFoundError: No module named 'note_sequence_utils'

I'm runing these versions with OSX Catalina:
magenta 2.0.1
protobuf 3.12.2
tensorflow 2.2.0

I tried

from utils import save_midi, save_plot

instead but unsuccessful. What's the problem ?

@dubreuia
Copy link
Collaborator

Hello @Hasterios, how are you launching the code? Command line? PyCharm?

@dubreuia
Copy link
Collaborator

Oh I saw that you are using IPython from the stack trace. I'll try launching the code using IPython and I'll get back to you

@ManikandanKurup-Packt
Copy link
Collaborator

@dubreuia Hi Alex, can we close the issue if it is resolved?

@dubreuia
Copy link
Collaborator

@Hasterios I can't reproduce do you still have the issue ?

@dubreuia dubreuia added the bug Something isn't working label Jul 27, 2020
@Hasterios
Copy link
Author

Last checks these days. The issue is still open.
In the meantime I reinstalled properly the libraries according to your instructions and I updated Catalina as well.
The other chapters work like a charm.

@ManikandanKurup-Packt
Copy link
Collaborator

Hi @Hasterios, is the issue resolved? If so, can we close it?

@dubreuia dubreuia self-assigned this Sep 13, 2020
@ManikandanKurup-Packt
Copy link
Collaborator

Hi @dubreuia
Can I close the issue if there are no more problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants