#line 5 error how to rectify

1 messages · Page 1 of 1 (latest)

copper comet
urban dune
#

That's a weird error. Apparently, it's a common issue with IPython. Try restarting the kernel

Select "runtime" then "restart runtime"

https://github.com/ipython/ipython/issues/9224
https://stackoverflow.com/questions/68240701/str-object-is-not-callable-but-im-not-using-str-at-all

GitHub

I was writing some code in an ipython notebook and a strange error came at an unusual place. To simplify, I then wrote this - t = 8 print str(t) And strangely it showed the error TypeError: 'st...

copper comet
#

I changed my ide to pycharm

#

It worked out fine I appreciate your help and am looking forward to more guidance