找不到模块错误:没有名为“chart\u studio”的模块

2024-06-16 21:58:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我在jupyter笔记本中运行!pip install chart_studio

然后在运行此代码时:

import numpy as np
import pandas as pd

import cufflinks as cf
import chart_studio.plotly as py

from chart_studio.plotly import iplot

import plotly.graph_objects as go
chart_studio.tools.set_credentials_file(username=xx, api_key = xxx)

我回来了:

No module named 'chart_studio'

我尝试过语法更正,但没有乐趣。有什么建议吗


Tags: installpip代码importnumpypandasasnp