Failed to import cxutils module into Python. See console for errors.

Today is 16march2022. Not 2017.

After installing macOS 12.3 (huge mistake), I cannot launch FFXIV. Apparently this is due to Apple removing their default Python2.7 material. I got past that by deleting and re-installing FFXIV.


New error message from the Crossover/FFXIV launcher:


Failed to import cxutils module into Python. See console for errors.


This is after re-installing FFXIV.


Has anyone found a fix?

Mac mini, macOS 12.3

Posted on Mar 16, 2022 1:44 AM

Reply

Similar questions

5 replies

Mar 16, 2022 2:26 AM in response to clyde37

I've never used any of that software, but it mentions a cxutils module. Potentially, if you are comfortable with tinkering with it, you could try forcing it to reinstall (via the macOS Terminal app), per this stackoverflow article: https://stackoverflow.com/questions/19548957/can-i-force-pip-to-reinstall-the-current-version

sudo pip install --upgrade --no-deps --force-reinstall cxutils

Mar 16, 2022 6:36 AM in response to clyde37

Have you contacted Crossover or the FFXIV developer about your problem and/or workaround? Neither is obviously Apple products that are supported here.


I went to Python.org and downloaded/installed Python 2.7.18 which gave me a /usr/local/bin/pip2 that allowed me to install the pyobjc==5.3 package into that Python distribution. That was the last version of pyobjc to support 2.7.18. All of my PyObjC scripts now work as they used to prior to Monterey 12.3, as do the newer Python 3.10.2 and pyinstaller compiled applications.

Apr 19, 2022 8:31 PM in response to clyde37

Stuck on this as well. Installed Python 2.7(might not have needed to...), reinstalled FFXIV, installed cxutil and phobic via pip and still no luck. Error remains the same as originally reported. When run via console the error is slightly different:


/Applications/FINAL\ FANTASY\ XIV\ ONLINE.app/Contents/MacOS/FINAL\ FANTASY\ XIV\ ONLINE
Traceback (most recent call last):
  File "/Volumes/Home/aric/crossover/macosx/CrossOver/build/Release/FINAL FANTASY XIV ONLINE.app/Contents/SharedSupport/finalfantasyxiv/lib/python/cxutils.py", line 22, in <module>
  File "/Volumes/Home/aric/crossover/macosx/CrossOver/build/Release/FINAL FANTASY XIV ONLINE.app/Contents/SharedSupport/finalfantasyxiv/lib/python/distversion.py", line 21, in <module>
ImportError: No module named objc

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Failed to import cxutils module into Python. See console for errors.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.