Fedora 42 Installation Issue, Python version and packages
I tried to install the client on Fedora 42 and got some issues. They are successfully resolved at the end but I would like to open an issue for anyone who might encounter the same issues. The author can also update the installation guide accordingly.
-
Python version: Python 3.12 does NOT work. I got an error related to
ModuleNotFoundError: No module named 'imp'when using Python 3.12.Installing the
cryptopackage won't help, it will raise more errors. Finally I found this post where the error is similar to my case. I realized that the ultimate problem is the Python version. Theimpmodule was removed in Python 3.12 so we have to use Python 3.11.I created a new Python environment with Python 3.11 to run ClipCascade:
conda create -n clipcascade python=3.11. Then install the requirements after activating this environment:conda activate clipcascade && pip3 install requirements.txt. -
Unavailable DNF packages Following the installation instruction in README.md, I ran
sudo dnf install -y python3-xxhash python3-pyperclip python3-requests python3-websocket-client python3-pycryptodomex python3-tkinter python3-pystray python3-pyfiglet python3-beautifulsoup4 python3-plyer python3-aiortc. But it seems thepython3-plyerandpython3-aiortcpackages are not available in DNF.Actually it is unnecessary to install them using DNF since they are in the
requirements.txt. They are installed when you runpip3 install -r requirements.txt.