question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`with suppress_known_deprecation():` TypeError: 'module' object is not callable

See original GitHub issue

Follow-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:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kayhayencommented, Dec 15, 2021

@nschloe the form exists, so I can be lazy 😃

0reactions
nschloecommented, Dec 15, 2021

Yup, it’s up for 2 hours now, and the fix is in there. Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found