I have a script with code:
from mimesis import Personal
person = Personal('en')
person.full_name()
and it works well, but after compiling this code to .exe via pyinstaller I have an error FileNotFoundError: [Errno 2] No such file or directory: 'B:\_MEI131682\mimesis\data/es\personal.json'
[20624] Failed to execute script myproject
So, I think that problem in path (data/es\\personal). What ways of solving this problem can you recommend?
I have a script with code:
and it works well, but after compiling this code to .exe via pyinstaller I have an error FileNotFoundError: [Errno 2] No such file or directory: 'B:\_MEI131682\mimesis\data/es\personal.json'
[20624] Failed to execute script myproject
So, I think that problem in path (
data/es\\personal). What ways of solving this problem can you recommend?