Jump to content

Trying to build cura from source, running into "No module named '_ctypes'" error on x86 (intel) macos


naineasd

Recommended Posts

Posted · Trying to build cura from source, running into "No module named '_ctypes'" error on x86 (intel) macos

Trying to build both latest main and 5.6.0 version. Any help or recommendation is greatly appreciated to resolve this issue. 

Error Message,
          return _bootstrap._gcd_import(name[level:], package, level)
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 883, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/Users/naineshmp/go3d/Cura/venv/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 27, in <module>
          from .macosx_libfile import calculate_macosx_platform_tag
        File "/Users/naineshmp/go3d/Cura/venv/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 43, in <module>
          import ctypes
        File "/Users/naineshmp/.conan/data/cpython/3.10.4/ultimaker/stable/package/b3a6cad47f4ab6c2938ba6041e44f15c4398443c/lib/python3.10/ctypes/__init__.py", line 8, in <module>
          from _ctypes import Union, Structure, Array
      ModuleNotFoundError: No module named '_ctypes'
      [end of output]

Conan Profile

[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=14
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]
  • Link to post
    Share on other sites

    Posted · Trying to build cura from source, running into "No module named '_ctypes'" error on x86 (intel) macos

    You would probably get faster help with this issue on github
    here: https://github.com/Ultimaker/Cura/discussions

    Additionally I would make sure your version of MacOS is supported.
    Details here: https://support.ultimaker.com/s/article/1667337917781

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...