ClipCascade icon indicating copy to clipboard operation
ClipCascade copied to clipboard

Fedora 42 Installation Issue, Python version and packages

Open jin-li opened this issue 3 months ago • 0 comments

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.

  1. 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 crypto package 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. The imp module 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.

  2. 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 the python3-plyer and python3-aiortc packages 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 run pip3 install -r requirements.txt.

jin-li avatar Oct 07 '25 20:10 jin-li