AssertionError: wrong color format 'ansibrightred'

AssertionError: wrong color format 'ansibrightred'

我是 运行 我的旧 qiskit 代码很长时间后它不是 运行 现在显示错误 wrong color format 'ansibrightred' 我不知道为什么?

from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister
# %matplotlib inline

circuit = QuantumCircuit(3,3)
circuit.h(0)
circuit.h(1)
circuit.h(2)
circuit.measure([0,1], [0,1])

我运行陷入同样的​​问题。我通过删除我的安装并安装 qiskit==0.16.2.

解决了这个问题
pip install qiskit==0.16.2