Skip to content

Cannot import name utils  #825

@ejyoung82

Description

@ejyoung82

I've just installed plotly this morning and even when trying an example like the simple table here I get the following ImportError:

import plotly.plotly as py
import plotly.figure_factory as ff

data_matrix = [['Country', 'Year', 'Population'],
['United States', 2000, 282200000],
['Canada', 2000, 27790000],
['United States', 2005, 295500000],
['Canada', 2005, 32310000],
['United States', 2010, 309000000],
['Canada', 2010, 34000000]]

table = ff.create_table(data_matrix)
py.iplot(table, filename='simple_table')
Traceback (most recent call last):

File "", line 2, in
import plotly.figure_factory as ff

File "C:\Users\ejyoung\AppData\Local\Continuum\Anaconda2\lib\site-packages\plotly\figure_factory_init_.py", line 10, in
from plotly.figure_factory._distplot import create_distplot

File "C:\Users\ejyoung\AppData\Local\Continuum\Anaconda2\lib\site-packages\plotly\figure_factory_distplot.py", line 4, in
from plotly.figure_factory import utils

ImportError: cannot import name utils

I've been looking for solutions but have not found anything. I have plotly 2.0.15 (also ran --upgrade to update dependencies) and python 2.7.13

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions