You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 07f386b
Browse filesBrowse the repository at this point in the historyBrowse files
raiseException("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."% (
48
-
__version__, __file__,
49
-
backend.__version__, backend.__file__))
47
+
raiseException(f"Version mismatch: this is the 'cffi' package version {__version__}, located in {__file__!r}. When we import the top-level '_cffi_backend' extension module, we get version {backend.__version__}, located in {backend.__file__!r}. The two versions should be equal; check your installation.")
50
48
else:
51
49
# PyPy
52
-
raiseException("Version mismatch: this is the 'cffi' package version %s, located in %r. This interpreter comes with a built-in '_cffi_backend' module, which is version %s. The two versions should be equal; check your installation."% (
53
-
__version__, __file__, backend.__version__))
50
+
raiseException(f"Version mismatch: this is the 'cffi' package version {__version__}, located in {__file__!r}. This interpreter comes with a built-in '_cffi_backend' module, which is version {backend.__version__}. The two versions should be equal; check your installation.")
54
51
# (If you insist you can also try to pass the option
55
52
# 'backend=backend_ctypes.CTypesBackend()', but don't
56
53
# rely on it! It's probably not going to work well.)
0 commit comments