Libdxcore.so: cannot open shared object file: No such file or directory

After a while of being on the same version of Manjaro, I updated, and some files went missing after it decided to update Python to Python 10 alongside the rest of the packages. This seems to have broken some things, and I cannot find anything on Google that helps me with the following error. Here’s the full error:

$ python launch.py 
Traceback (most recent call last):
  File "launch.py", line 1, in <module>
    import replikant
  File "/home/foxo/Project-Replikant/replikant/__init__.py", line 1, in <module>
    from .play import *
  File "/home/foxo/Project-Replikant/replikant/play.py", line 6, in <module>
    from .gpt2generator import GPT2Generator
  File "/home/foxo/Project-Replikant/replikant/gpt2generator.py", line 6, in <module>
    import torch
  File "/home/foxo/.local/lib/python3.8/site-packages/torch/__init__.py", line 196, in <module>
    from torch._C import *
ImportError: libdxcore.so: cannot open shared object file: No such file or directory

I don’t know why updating the system would cause these files to be removed… libomp.so.5 also went missing.
Any help is appreciated. Thank you in advance!

-foxo
*Note: The name of the project has been updated, however this is an old folder with an old name. The name of the project was changed to avoid legal trouble.
*Note 2: I have the pacman/pamac package manager.

Always read Announcement posts: