Closed programClown closed 3 years ago
This was asked in jsonrpcclient also, does it help you? https://github.com/bcb/jsonrpcclient/issues/155
Sorry, i meet the same error after change my spec
file as follow
a = Analysis( ...
datas=[('Lib\\site-packages\\jsonrpcserver\\request-schema.json','.')],
...)
Thanks @bcb ,i have solved it.
The spec
file write as follow:
a = Analysis( ...
datas=[('Lib\\site-packages\\jsonrpcserver\\request-schema.json','jsonrpcserver')],
...)
reference: #using-data-files-from-a-module
Great 👍
After I
pyinstaller
my python scripts, run the exe file report can't find'C:\\Users\\XXX\\AppData\\Local\\Temp\\_MEI83882\\jsonrpcserver\\request-schema.json'