TypeError: 'bool' object is not callable
See original GitHub issueDescription
What steps will reproduce the problem?
During startup, Spyder4 (‘mainwindow.py’) reports a type error where mod.PLUGIN_CLASS(self) appears to be calling a bool-type object.
Traceback
File "c:\program files\python\lib\site-packages\spyder\app\mainwindow.py", line 985, in setup
plugin = mod.PLUGIN_CLASS(self)
TypeError: 'bool' object is not callable
Versions
- Spyder version: 4.1.0
- Python version: 3.8.0
- Qt version: 5.12.6
- PyQt5 version: 5.12.3
- Operating System: Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.3.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.2.2 (OK)
diff_match_patch >=20181111 : 20181111 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.10.1 (OK)
jedi =0.14.1 : 0.14.1 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 0.9.1 (OK)
paramiko >=2.4.0 : 2.7.0 (OK)
parso =0.5.2 : 0.5.2 (OK)
pexpect >=4.4.0 : 4.7.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.6.7 (OK)
pygments >=2.0 : 2.5.2 (OK)
pylint >=0.25 : 2.4.4 (OK)
pyls >=0.31.2;<0.32.0 : 0.31.2 (OK)
qdarkstyle >=2.8 : 2.8 (OK)
qtawesome >=0.5.7 : 0.6.0 (OK)
qtconsole >=4.6.0 : 4.6.0 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
sphinx >=0.6.6 : 2.2.2 (OK)
spyder_kernels >=1.9.0;<1.10.0 : 1.9.0 (OK)
watchdog : None (OK)
zmq >=17 : 18.1.1 (OK)
# Optional:
cython >=0.21 : 0.29.15 (OK)
matplotlib >=2.0.0 : 3.2.0 (OK)
numpy >=1.7 : 1.18.2 (OK)
pandas >=0.13.1 : 1.0.2 (OK)
scipy >=0.17.0 : 1.4.1 (OK)
sympy >=0.7.3 : 1.5.1 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
TypeError: 'bool' object is not callable - python - Stack Overflow
The solution is use a different name for the variable than you do for the method. Share. Share a link to this answer....
Read more >HELP! TypeError: 'bool' object is not callable : r/learnpython
You are assigning the returned boolean value to 'math' by calling 'math_battle' function (using the parentheses). You have to assign the ...
Read more >typeerror: 'bool' object is not callable - You.com | The Search ...
The Python TypeError: 'bool' object is not callable occurs when we try to call a boolean value (`True` or `False`) as a function....
Read more >TypeError: 'bool' object is not callable - Replit
It's as it says, you cannot call a bool as the function you're calling, "check_rows()" is equal to the bool "True". I don't...
Read more >TypeError: 'bool' object is not callable in Pytorch
I have some Problems when i following a tutorial about autoencoder in youtube. Here is my code import torch import torch.nn as nn...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Update: Spyder 4.1.3 fixed the problem for me.
@pnh81, thanks for the update.
@dalthviz, please try with pip then.