`with suppress_known_deprecation():` TypeError: 'module' object is not callable
See original GitHub issueFollow-up on #1303.
When building with pyproject.toml
and nuitka.distutils.Build
, I’m getting the build error
[...]
cwd: /tmp/pip-req-build-qwrt9dkw
Complete output (10 lines):
Traceback (most recent call last):
File "/home/nschloe/software/foobar/foobar/.tox/py3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/home/nschloe/software/foobar/foobar/.tox/py3/lib/p
ython3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/nschloe/software/foobar/foobar/.tox/py3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-_0ut264e/overlay/lib/python3.9/site-packages/nuitka/distutils/Build.py", line 39, in build_wheel
with suppress_known_deprecation():
TypeError: 'module' object is not callable
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
TypeError 'module' object is not callable in Python - STechies
This tutorial explains why TypeError 'module' object is not callable occurs in Python and how to resolve this error. The error “TypeError: 'module'...
Read more >TypeError: 'module' object is not callable - Stack Overflow
It gives this error as am calling the create.py file as a function. so I gotta do this: from create import create create()...
Read more >TypeError: module object is not callable [Python Error Solved]
To put it simply, the "TypeError: 'module' object is not callable" error means that modules cannot be called like functions or methods.
Read more >TypeError module object is not callable | Edureka Community
This error statement TypeError: 'module' object is not callable is raised as you are being confused about the Class name and Module name....
Read more >Python TypeError: 'module' object is not callable Solution
On Career Karma, learn about the Python TypeError: 'module' object is not callable error, how the error works, and how to solve the...
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 FreeTop 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
Top GitHub Comments
@nschloe the form exists, so I can be lazy 😃
Yup, it’s up for 2 hours now, and the fix is in there. Thanks!