본문 바로가기

강의/Udacity ML

[Python] import Error : cannot import name module 에러 해결

SMALL

Jupyter notebook 실습 중 해당 에러가 발생했다.

코드에도 문제가 없었고, 파일 명에도 오타가 없었다.

 

ipython 재설치를 통해 해결했다.

pip uninstall -y ipython prompt_toolkit
pip install -ipython

 

 

참고

https://github.com/ipython/ipython/issues/11270

 

ImportError: cannot import name 'generator_to_async_generator' · Issue #11270 · ipython/ipython

When I run Ipython on Ubuntu18.04,I got this ImportError.

github.com

 

SMALL