using Plotly with pycharm
Question: I am trying to use **Plotly** with **pycharm** when I run the code (which I
toke from the Ploty getting started [page](https://plot.ly/python/getting-
started/#initialization-for-offline-plotting) on terminal it is OK but when I
use it with pycharm I get error:

"ImportError: No module named 'plotly.graph_objs'; 'plotly' is not a packageé"

[Code on pycharm](http://i.stack.imgur.com/Fo5Pb.png)

Any idea about where could be the problem ? because plotly module works on
terminal and not on the editor could this problem be related to what is
evoqued in this question ?

> Blockquote [Python dynamic objects not defined anywhere? (Plotly
> lib)](http://stackoverflow.com/questions/38021683/python-dynamic-objects-
> not-defined-anywhere-plotly-lib)

Thx


Answer: Your script is named `plotly.py`. In the first line where you import plotly it
loads your script and not the plotly package. Change the name of your script
to `plot.py` or something other than plotly and it should work.

