Created exe file not getting executed
Like to create a binary ecexuteble file of below script, Its getting compiled but giving me some error.Content (simpleSentenceTrasformerUsage.py)from sentence_transformers import SentenceTransformermodel = SentenceTransformer(‘all-mpnet-base-v2’)#Oursentences we like to encodesentences = [‘This framework generates embeddings for each input sentence’,‘Sentences are passed as a list of string.’,‘The quick brown fox jumps over the lazy dog.’]#Sentencesare encoded by calling model.encode()embeddings = model.encode(sentences)#Printthe embeddingsfor sentence, embedding in zip(sentences, embeddings):print(“Sentence:”, sentence)print(“Embedding:”, embedding)print(“”)compiling withpyinstaller simpleSentenceTrasformerUsage.py --onefileWhile running$>> ./dist/simpleSentenceTrasformerUsageTraceback (most recent call last):File “transformers/utils/versions.py”, line 102, in require_versionFile “importlib/metadata/init.py”, line 996, in versionFile “importlib/metadata/init.py”, line 969, in distributionFile “importlib/metadata/init.py”, line 548, in from_nameimportlib.metadata.PackageNotFoundError: No package metadata was found for tqdmCan you please suggest how it could be achieved ?