Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: robert rottermann Newsgroups: de.comp.lang.python Subject: =?utf-8?q?=5BPython-de=5D_pip_install_gevent_schl=C3=A4gt_fehl_mit=3A_top-level_=27=5Fcffi=5Fbackend=27_extension_module_version_missmatch?= Date: Sun, 8 Jan 2023 09:26:46 +0100 Lines: 39 Message-ID: <1745e659-f8b8-e7f0-59c2-3f2e84a3e44b@redcor.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de WFeZArjGDUfDXw/tufLUdQ4wQ4kTq3k6aXHoGSEGJkgg== Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=redcor.ch header.i=@redcor.ch header.b=lwEMEfyB; dkim-adsp=pass; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=redcor.ch; s=201908; t=1673166411; bh=McjcmW6qYsFqbCWLtkX3kQKNvILsQDyihYdVlCpBLYs=; h=Date:To:From:Subject:Cc:From; b=lwEMEfyBrcIfPG7R792cG48b3Ntma5hixeYeAm7h4wqRqBSFBBTIjGgg8iNWz14nR RZbLoMDxRjI9ltPYG9dP2WvTQm3goYAOt6w0myDWbwDvh887xdQfrQlnNLhCc5Iz8r 7L6veLd+FgKMQO4sHsR1hD0z+5vEg55cwsd8WZgztqlLxQ+q9+yRxhNVOLx5ui1JSA M+Isdnyk7yqAJRteF/bB/MqTO+Os0r0nFD+FIAinM1xMhjVVIbLFXA7JnYYJkZPdqk eyP6TPn6b7iojXsDwHVuD6gOSUWV0NCM5YmvfN/DK/CP6riKiVF45dIb6O6z7uw6f9 /YuBUHKBKYSyQ== User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US, de-CH Message-ID-Hash: 3EAYGMJLOOKREJHESPL4LFSXZENYGQHU X-Message-ID-Hash: 3EAYGMJLOOKREJHESPL4LFSXZENYGQHU X-MailFrom: robert@redcor.ch X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-python-de.python.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9b1 Precedence: list List-Id: Die Deutsche Python Mailingliste Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Xref: csiph.com de.comp.lang.python:5955 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