프로그래밍
[Error 🦗] ModuleNotFoundError: No module named 'tree'
Rudi
2021. 4. 13. 10:54
[Error] ModuleNotFoundError: No module named 'tree'🦗
What happens?
Python의 Ray 라이브러리를 설치하고 시작할 때, tree가 없다는 에러가 발생하였음.
Failed
pip install tree
pip install tree
로 설치하고 확인해도 에러는 그대로 남아있었고
pip install dm-tree
이 방법으로 해도 해결되지 않았음.
How do I fix it
pip uninstall tree
pip uninstall dm-tree
pip install --upgrade ray
pip install dm-tree
세번 째 줄은 입력하지 않았음. (최신 Ray를 받았기 때문에)