We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128eb8f commit b163f7fCopy full SHA for b163f7f
swat/clib.py
@@ -79,6 +79,12 @@ def _import_pyswat():
79
if libssl:
80
os.environ['TKESSL_OPENSSL_LIB'] = libssl[-1]
81
82
+ if struct.calcsize('P') < 8:
83
+ raise RuntimeError('A 64-bit build of Python is required for the '
84
+ 'binary protocol. You can either install a 64-bit '
85
+ 'version of Python, or use the REST interface as '
86
+ 'an alternative.')
87
+
88
# Try to import the C extension
89
try:
90
_pyswat = importlib.import_module('.lib.%s.%s' % (platform, libname),
0 commit comments