You type it in your python script. import os and then enter that line at the start of your script. Also, it will not solve not problem as it will just output a stack trace. What are the shapes of cat_embedd and embeddings? Print these.