小编Ast*_*ter的帖子

cffi python 包错误版本不匹配

我正在尝试安装 python 软件(https://github.com/GuLinux/Ast ​​roPhoto-Plus),但在日志中,安装后执行期间出现此错误:

Exception: Version mismatch: this is the 'cffi' package version 1.14.6, located in '/tmp/pip-build-env-kuxyuc2x/overlay/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-arm-linux-gnueabihf.so'.  The two versions should be equal; check your installation.
Run Code Online (Sandbox Code Playgroud)

据我了解,我有:

hamham@astroloutre:~/www$ pip show cffi
Name: cffi
Version: 1.14.0
Summary: Foreign Function Interface for Python calling C code.
Home-page: http://cffi.readthedocs.org
Author: Armin Rigo, Maciej Fijalkowski
Author-email: python-cffi@googlegroups.com
License: MIT
Location: /home/hamham/.local/lib/python3.8/site-packages
Requires: pycparser
Required-by: 
Run Code Online (Sandbox Code Playgroud)

我正在尝试安装 1.14.6 版本

hamham@astroloutre:~/www$ …
Run Code Online (Sandbox Code Playgroud)

python cffi

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

cffi ×1

python ×1