ImportError: No module named IPython

599 views
Skip to first unread message

Lucas Castelnovo

unread,
Nov 8, 2016, 9:59:57 PM11/8/16
to Magenta Discuss

Hello everyone,

I'm running the initial tests and some of them fail. After checking the error logs, I realized that all of them failed for the same reason: ImportError: No module named IPython.


I have python 2.7.10, tensorflow 0.10.0 and bazel 0.3.1 running on macbook pro.
Does anybody know how to fix this?

Thanks in advance,
Lucas

Brannon Dorsey

unread,
Nov 8, 2016, 11:00:25 PM11/8/16
to Lucas Castelnovo, Magenta Discuss

Looks like you need to install ipython notebook. Did you install an environment with conda?


--
Magenta project: magenta.tensorflow.org
To post to this group, send email to magenta...@tensorflow.org
To unsubscribe from this group, send email to magenta-discuss+unsubscribe@tensorflow.org
---
You received this message because you are subscribed to the Google Groups "Magenta Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magenta-discuss+unsubscribe@tensorflow.org.

Lucas Castelnovo

unread,
Nov 9, 2016, 12:45:08 AM11/9/16
to Magenta Discuss, lucas.ca...@gmail.com
Thanks Brannon,
No, i didn't use an environment with conda... However, I installed ipython from http://jupyter.readthedocs.io/en/latest/install.html and now the problem is solved. Now only one test fails with message:

AssertionError: 'tempos {\n  qpm: 120.0\n}\nnotes {\n  pitch: 1\n  velocity: 64\n  start_time: 2 [truncated]... != 'tempos {\n  qpm: 120.0\n}\nnotes {\n  pitch: 1\n  velocity: 64\n  start_time: 2 [truncated]...
  tempos {
    qpm: 120.0
  }
  notes {
    pitch: 1
    velocity: 64
    start_time: 2.0
    end_time: 1478670086.31
  }
- notes {
-   pitch: 2
-   velocity: 64
-   start_time: 3.0
-   end_time: 1478670086.31
- }
  total_time: 1478670086.31


El miércoles, 9 de noviembre de 2016, 1:00:25 (UTC-3), Brannon Dorsey escribió:

Looks like you need to install ipython notebook. Did you install an environment with conda?

On Nov 8, 2016 21:59, "Lucas Castelnovo" <lucas.ca...@gmail.com> wrote:

Hello everyone,

I'm running the initial tests and some of them fail. After checking the error logs, I realized that all of them failed for the same reason: ImportError: No module named IPython.


I have python 2.7.10, tensorflow 0.10.0 and bazel 0.3.1 running on macbook pro.
Does anybody know how to fix this?

Thanks in advance,
Lucas

--
Magenta project: magenta.tensorflow.org
To post to this group, send email to magenta...@tensorflow.org
To unsubscribe from this group, send email to magenta-discu...@tensorflow.org

---
You received this message because you are subscribed to the Google Groups "Magenta Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magenta-discu...@tensorflow.org.

Lucas Castelnovo

unread,
Nov 9, 2016, 12:46:54 AM11/9/16
to Magenta Discuss, lucas.ca...@gmail.com
EDIT: I ran again the tests and all passed. 
Reply all
Reply to author
Forward
0 new messages