首页 > 解决方案 > Cannot import name SetDefaultColoring

问题描述

When i am trying to sync repo :

repo init -u git://github.com/LineageOS/android.git -b lineage-17.1

its getting error like :

ModuleNotFoundError: No module named 'color'

and then after trying installing color module pip install color or pip3 install color

i am stuck with this error :

Traceback (most recent call last):
File "/home/user/.repo/repo/main.py", line 48, in <module>
    from color import SetDefaultColoring
ImportError: cannot import name 'SetDefaultColoring'

标签: pythonandroidlinuxgit

解决方案


推荐阅读