@SdeGeata hmmm thats really strange, in your terminal you can import it and it works and if you try to run my encode.py script it doesn’t. stupid question, but i need to ask, sorry. do you run my encode.py also in the “dlib_test” virtual environment?