0

When I am creating a map in jupyter notebook using plotly package,I am able to do so without any issues.However when I use the same code and upload it in Kaggle kernel,below is the error I am getting.

NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

MaxRetryError: HTTPSConnectionPool(host='plot.ly', port=443): Max retries exceeded with url: /clientresp (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))

The line at which it throws an error is:

py.iplot(fig,validate=False,filename='choropleth-map')

1
  • Sadly I cannot help you directly, but I suggest adding a few more bits of formatting and sharing perhaps a minimal snippet, which reproduces your problem. Sometimes prior lines are at fault so it is usually helpful to have a short snippet reproducing the error if it's possible to do. Commented Mar 24, 2018 at 4:11

1 Answer 1

2

You're getting this error because kernels currently don't have internet access. You can still generate offline plotly plots.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.