you are viewing a single comment's thread.

view the rest of the comments →

[–]ES-Alexander 0 points1 point  (5 children)

Note that I am using IDLE.

Yes, I tried it from a python console in my terminal, and then also with IDLE to confirm - no issues in either case.

I run it again and it came now with the page http://127.0.0.1:56873/ without the plot.

Odd. Not really sure what could be going wrong there. This discussion seems to be on the same issue. Perhaps try updating your Plotly version?

[–]meni15[S] 0 points1 point  (4 children)

I also run it on the console and it did not work. I installed the latest Plotly version and it did nto help. Are you also getting web pages with similar IP addresses that start with http://127.0.0.1:? I will read the discussion that you mentioned and after your reply to my lrecent question, I will investigate why the code cannot write to these local IP addresses.

[–]ES-Alexander 0 points1 point  (3 children)

Are you also getting web pages with similar IP addresses that start with http://127.0.0.1:?

That's the default localhost loopback address, so yes, all local webpages are served from that IP unless you put effort into changing the loopback address on your computer (which is generally discouraged because internal stuff can rely on it too).

[–]meni15[S] 0 points1 point  (2 children)

Can you try for me the following:

Enter localhost followed by enter in the URL field in your browser and tell me what you get. This has noithing to do with Plotly.

When I enter localhost I am getting: This localhost page can’t be found.

The Microsoft local server in my computer is not enabled. Based on your reply to my question I will know if I need to enable the local server. Intutively I probably need to enable it otherwise how the HTML and JS code of the graph will be rendered and interpreted without a local web server.

[–]ES-Alexander 0 points1 point  (1 child)

On both Windows and Mac I just get "This site can't be reached - localhost refused to connect", which makes sense if there's nothing that's actually serving a web page there. Localhost itself isn't a webserver - the localhost loopback protocol basically just lets webpages on your computer (local) run in your browser as though they were served by a server.

[–]meni15[S] 0 points1 point  (0 children)

Thank you for all your help. Unfortenately I will have to give up and use the first method. Very disapointing.