I am getting the error when creating the EXE from python: Error starting WebSocket connection: [Errno 2] No such file or directory: 'C:\\Users\\Excel\\AppData\\Local\\Temp\\_MEI93082\\fyers_apiv3\\FyersWebsocket\\map.json'

When I run the project locally, it works perfectly. However, after converting it to an .exe file, I encounter an error. I have already installed the ‘fyers’ package, but the issue persists. please provide a proper solution.

Hi @104037021171184709916,

This issue is beyond our control.

We suggest manually copying the fyers_apiv3 folder to the required location and trying again, as the issue stems from an inability to locate map.json.

got it thanks

can you give the suggestion for this in exe

getting the error after some time in websocket:

Error in WebSocket: [WinError 10054] An existing connection was forcibly closed by the remote host

Attempting reconnect 1 of 5…

so, what is the solution for it?