0

I'm trying to use the llcc01's fork with Chromium 108 support ( from here https://github.com/llcc01/cefpython ) to make a build for Windows and a build for MacOS (some changes needed to let it build).

I was able to make a build on Windows and I have a wheel file now that I can install on my system and runs fine (or at least it seems so).

Now, I'm trying to make a build on MacOS. I'm working on MacOS 12.6.2 machine using XCode 13.3 targeting MacOS platform 10.13+ (-mmacosx-version-min=10.13).

The compilation seems (despite several warnings) to complete, but when running python setup.py install I get the error below (and I'm stuck here at the moment).

Have you any suggestions about how to solve this? Thanks in advance for any help.

Traceback (most recent call last):
  File "setup.py", line 259, in <module>
    main()
  File "setup.py", line 158, in main
    "Topic :: Software Development :: User Interfaces",
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "setup.py", line 67, in run
    post_install_hook()
  File "setup.py", line 226, in post_install_hook
    import cefpython3
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/cefpython3/__init__.py", line 66, in <module>
    from . import cefpython_py37 as cefpython
ImportError: dlopen(/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/cefpython3/cefpython_py37.so, 0x0002): symbol not found in flat namespace (__Z17CefSetOSModalLoopb)
[build.py] ERROR while installing package
shakraw
  • 39
  • 7

0 Answers0