0

after installing speedtest module, getting an AttributeErrorenter image description here

going to create internet speed checker, but stuck on this error in the first place

  • Recommendation for posting questions here - get familiar with Markdown syntax. That will allow you to post your code directly into the question rather than providing a link to a picture of it. You are already using Markdown in your Jupyter notebooks, so it'll be an easy learning curve for you. To learn more check out the [Markdown Guide](https://www.markdownguide.org/) – James Tollefson Nov 05 '20 at 08:32
  • [Please do not upload images of code/errors when asking a question](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question). – Timus Nov 05 '20 at 08:35
  • i'll keep that in mind – Harish Thakur Nov 05 '20 at 14:24

2 Answers2

1

You have not called the function, only referenced it. Add the brackets after Speedtest.

st = speedtest.Speedtest() 

https://www.geeksforgeeks.org/test-internet-speed-using-python/

forgetso
  • 2,194
  • 14
  • 33
0

You are trying to instantiate a new object. Use test = speedtest.Speedtest() instead.

James Tollefson
  • 883
  • 3
  • 14