! pip install plotly 报错解决方法

! pip install plotly -i https://pypi.tuna.tsinghua.edu.cn/simple 

plotly 画柱状图:

首先我们需要导入需要的库:

import pandas as pd
import numpy as np

# 两种接口
import plotly_express as px
import plotly.graph_objects as go

你可能感兴趣的:(pip,plotly,python)