ybotspawn / Keep-ULauncher

Google Keep plugin for ULauncher
GNU General Public License v3.0
7 stars 0 forks source link

CFFI version mismatch? #16

Closed igorsantos07 closed 10 months ago

igorsantos07 commented 10 months ago

Not really sure what's going on lol

2023-11-10 21:01:37,138 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.ybotspawn.keep-ulauncher" exited instantly with code 1 2023-11-10 21:01:37,138 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.ybotspawn.keep-ulauncher" failed with an error: Exception: Version mismatch: this is the 'cffi' package version 1.15.1, located in '/home/igoru/.local/lib/python3.8/site-packages/cffi/api.py'. When we import the top-level '_cffi_backend' extension module, we get version 1.14.0, located in '/usr/lib/python3/dist-packages/_cffi_backend.cpython-38-x86_64-linux-gnu.so'. The two versions should be equal; check your installation.

 ~> pip install cffi
Requirement already satisfied: cffi in ./.local/lib/python3.8/site-packages (1.15.1)
Requirement already satisfied: pycparser in ./.local/lib/python3.8/site-packages (from cffi) (2.21)
 ~> sudo pip install cffi
[sudo] password for igoru:      
Requirement already satisfied: cffi in /usr/local/lib/python3.8/dist-packages (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/dist-packages (from cffi) (2.21)
 ~> sudo pip install _cffi_backend
ERROR: Invalid requirement: '_cffi_backend'
igorsantos07 commented 10 months ago

Solved by removing the pip version and using the one from the repos: https://stackoverflow.com/a/43338122/102960#comment102702693_43338122