Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5955
| From | robert rottermann <robert@redcor.ch> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | [Python-de] pip install gevent schlägt fehl mit: top-level '_cffi_backend' extension module version missmatch |
| Date | 2023-01-08 09:26 +0100 |
| Message-ID | <1745e659-f8b8-e7f0-59c2-3f2e84a3e44b@redcor.ch> (permalink) |
Hallo liebe Phytoneers
ich hoffe, Ihr habt das neue Jahr gut begonnen.
Wenn ich auf ubuntu 22.04 versuche mit pip install gevent==21.8.0
bekomme ich einen Fehler:
raise Exception("Version mismatch: this is the 'cffi' package version %s,
located in %r. When we import the top-level '_cffi_backend' extension module,
we get version %s, located in %r. The two versions should be equal; check your
installation." % (
Exception: Version mismatch: this is the 'cffi' package version 1.15.1,
located in
'/tmp/pip-build-env-_ntr8swv/overlay/local/lib/python3.10/dist-packages/cffi/api.py'.
When we import the top-level '_cffi_backend' extension module, we get version
1.15.0, located in
'/usr/lib/python3/dist-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so'.
The two versions should be equal; check your installation.
die einzige Möglichkeit, diesen Fehler zu unterdrücken, die ich gefunden habe,
ist Python3 vollständig mit
apt purge python
vollständig zu deinstallieren, und wieder zu installieren.
pip uninstall cffi
genügt nicht.
Gibt es einen weniger radikalen weg, diesen Fehler zu beseitigen?
Ich möchte keine virtuelle Umgebung Nutzen, da ich einen system-service einrichte.
danke für Eure Hilfe.
Robert
Back to de.comp.lang.python | Previous | Next — Next in thread | Find similar
[Python-de] pip install gevent schlägt fehl mit: top-level '_cffi_backend' extension module version missmatch robert rottermann <robert@redcor.ch> - 2023-01-08 09:26 +0100
[Python-de] Re: pip install gevent schlägt fehl mit: top-level '_cffi_backend' extension module version missmatch Hartmut Goebel <h.goebel@goebel-consult.de> - 2023-01-08 12:11 +0100
[Python-de] Re: pip install gevent schlägt fehl mit: top-level '_cffi_backend' extension module version missmatch Reimar Bauer <rb.proj@gmail.com> - 2023-01-08 14:27 +0100
Re: [Python-de] pip install gevent schlägt fehl mit: top-level '_cffi_backend' extension module version missmatch "Peter J. Holzer" <hjp-usenet3@hjp.at> - 2023-01-08 16:46 +0100
[Python-de] Re: pip install gevent schlägt fehl mit: top-level '_cffi_backend' extension module version missmatch robert rottermann <robert@redcor.ch> - 2023-01-08 17:10 +0100
csiph-web