✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
📊 Dash 2.0 is Arriving. Register here.

Installation Error on Python

Hi,

I am trying to install plotly but cannot manage it…
First, I tryed pip as it is said in the documentation. It gives me :

>pip install plotly
Collecting plotly
Could not find a version that satisfies the requirement plotly (from versions: )
No matching distribution found for plotly

As it does not work, I copy/paste this folder in Python27/Lib folder.
Then, this is what I got in python :

In [1]: import plotly
Traceback (most recent call last):

  File "<ipython-input-7-c27a4132ad2e>", line 1, in <module>
    import plotly

  File "C:\Python27\lib\plotly\__init__.py", line 31, in <module>
    from plotly import (plotly, dashboard_objs, graph_objs, grid_objs, tools,

  File "C:\Python27\lib\plotly\plotly\__init__.py", line 10, in <module>
    from . plotly import (

  File "C:\Python27\lib\plotly\plotly\plotly.py", line 30, in <module>
    from plotly import exceptions, files, session, tools, utils

  File "C:\Python27\lib\plotly\tools.py", line 16, in <module>
    from plotly import exceptions, optional_imports, session, utils

ImportError: cannot import name exceptions

Same thing with “import plotly.plotly as plotly”

Any idea of what I could do?

Thanks,

Max