Simplecv: no se puede ejecutar simplecv - AttributeError: el objeto 'InteractiveShellEmbed' no tiene atributo 'define_magic'

Creado en 12 jul. 2016  ·  3Comentarios  ·  Fuente: sightmachine/SimpleCV

Hola, estoy tratando de configurar simplecv. Tengo todo instalado como dicen las instrucciones, pero cuando ejecuto el comando simplecv, aparece este error. Soy nuevo en Python, así que no estoy seguro de cómo resolver este problema.

estoy ejecutando esto en python 2.7 en OS X 10.11.5 (el capitan)

gracias a cualquiera que haya revisado este problema.


AttributeError Traceback (última llamada más reciente)
/Library/Frameworks/Python.framework/Versions/2.7/bin/simplecv en()
7 si nombre == ' principal ':
8 sys.exit (
----> 9 load_entry_point ('SimpleCV == 1.3', 'console_scripts', 'simplecv') ()
10)

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.pyc en main (* args)
255 init_logging (nivel_registro)
256 shellclear ()
-> 257 scvShell = run_shell (interfaz)

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.pyc en run_shell (shell)
213 para shell en available_shells:
214 intento:
-> 215 return globals () shell
216 excepto ImportError:
217 pase

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.pyc en setup_ipython ()
125 scvShell = InteractiveShellEmbed (config = cfg, banner1 = banner,
126 exit_msg = exit_msg)
-> 127 scvShell.define_magic ("tutorial", magic_tutorial)
128 scvShell.define_magic ("claro", magic_clear)
129 scvShell.define_magic ("ejemplo", magic_examples)

AttributeError: el objeto 'InteractiveShellEmbed' no tiene atributo 'define_magic'

Comentario más útil

intente instalar alguna versión diferente de IPython
por ejemplo: pip install 'IPython==4' --force-reinstall

Todos 3 comentarios

intente instalar alguna versión diferente de IPython
por ejemplo: pip install 'IPython==4' --force-reinstall

Estoy ejecutando Ubuntu 14.04 Python2.7, al principio está bien, cuando reinicio mi computadora, aparece el mismo error. pero después de la desventaja de mi ipython a 4 según la solución superior, funcionó de nuevo.

Tuve el mismo problema AttributeError: 'InteractiveShellEmbed' object has no attribute 'define_magic' , y pip install 'IPython==4' --force-reinstall funcionó para mí.

¿Fue útil esta página
0 / 5 - 0 calificaciones

Temas relacionados

takluyver picture takluyver  ·  30Comentarios

programmin1 picture programmin1  ·  11Comentarios

slanning6 picture slanning6  ·  8Comentarios

gpetukhov picture gpetukhov  ·  3Comentarios

ipython picture ipython  ·  3Comentarios