Last answered:

16 Apr 2020

Posted on:

15 Apr 2020

0

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)
Instructor
Posted on:

15 Apr 2020

0
Hi Jeehye,  could you maybe upload a snapshot of your code along with the error message?   Best,  Eli
Posted on:

15 Apr 2020

0
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.
Instructor
Posted on:

16 Apr 2020

0
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

Submit an answer