Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: Python version mismatch: module was compiled for version 3.6, while the interpreter is running version 3.7. #375

Open
kingofwar1007 opened this issue Jun 23, 2021 · 0 comments

Comments

@kingofwar1007
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant