Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFFI version mismatch? #16

Closed
igorsantos07 opened this issue Nov 11, 2023 · 1 comment
Closed

CFFI version mismatch? #16

igorsantos07 opened this issue Nov 11, 2023 · 1 comment

Comments

@igorsantos07
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant