python - 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'
解决方案
推荐阅读
- python - aws 个性化架构修改
- linux - elasticsearch 在最初使用 docker 运行时打印更多关于等待条件的日志
- reactjs - React/JSX 不采用我的 onClick 处理程序,而基本 HTML 则采用
- html - 复选框样式和背景
- c - 有没有办法用 C 中的另一个函数调用预先设置一组函数?
- php - Symfony 5 - CreateFormBuilder 构造函数中的相同表单
- vue.js - 如何等待数据加载才能在 Vue.js 中正确显示此 v-if 条件?
- node.js - 在运行在不同端口上的 react 应用程序上设置 cookie,而不是在同一台机器上的不同端口上运行的 express api 服务器,但不在本地主机上
- python-3.x - 如何在python中将Str转换为日期时间格式?
- oracle - 基于字符和数字的 PL/SQL 正则表达式搜索