ImportError: Python version mismatch: module was compiled for version 3.6, while the interpreter is running version 3.7.
kingofwar1007 opened this issue · comments
kingofwar1007 commented
Hello,
im facing this problem while testing:
ImportError: Python version mismatch: module was compiled for version 3.6, while the interpreter is running version 3.7.
i tried to solve this problem following the next steps:
Open Makefile in lanms folder
Change pythonx.x-config in two first lines to your current python version.
ex:
CXXFLAGS = -I include -std=c++11 -O3 $(shell python3.7-config --cflags)
LDFLAGS = $(shell python3.7-config --ldflags)
Delete adaptor.so
Run command make.
I couldnt find the file adaptor.so to delete it !
can someone help me please
Thanks in advance