How to diagnose import error when importing from .so file?

David Lowry-Duda david at lowryduda.com
Wed Jul 29 13:47:53 EDT 2020


> pyscand is a .so file so I fear I may be a bit stuffed unless I can
> find the source code for it.
> ...
> In fact looking for this error it seems that is is a Python version
> mismatch error and I need to recompile pyscand.so against Python 3. Is
> there no way to sort of convert it to Python 3 without having the
> source?

Unfortunately, you'll need to recompile the .so file (or replace the 
dependency). Good luck!

- DLD

-- 
David Lowry-Duda <david at lowryduda.com> <davidlowryduda.com>


More information about the Python-list mailing list