Importing module in spyder
Hi
I was taking bootcamp for python about module.
The problem is that I cannot import any module both math or random.
I tried same in Jupyter but it was also same problem.
It showed error message that " 'module' object is not callable. ".
How can I solve this problem?
I installed Anaconda and clicked launch spyder which followed 365 python bootcamp lesson.
Thank you.
3 answers ( 0 marked as helpful)
Hi Jeehye,
could you maybe upload a snapshot of your code along with the error message?
Best,
Eli
How can I attached image in here?
As I told you before, the TypeError message is that " ‘module’ object is not callable." once after I imported module and ran code with module.
Thanks.
Hi Jeehye,
when you post and answer there is an 'Add Media' box which you can use to upload an image.
In the meantime you can check out this article here, which lists the error you reported:
https://www.stechies.com/typeerror-module-object-is-not-callable/
Best,
Eli