So I'll start off by saying I'm somewhat new to python and using pyinstaller, but I've been reading a lot and cannot find a solution to the problem I'm experiencing
I'm trying to bundle a csv file with some data when using pyinstaller. I've successfully done this by by using the --add-data command, as well as modifying the spec file. The problem I'm having is that once the bundle is complete, the path I've specified in my python code references the csv file in the original folder, not the one that was bundled with the exe, so when I try to run the exe on another computer, it crashes because that file doesn't exist. How can I fix this problem? I'm assuming I'll need to change the path to something different in my actual python code, but I'm not sure how to do this or what the path should be. Can someone help me? -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To post to this group, send email to pyinstaller@googlegroups.com. Visit this group at https://groups.google.com/group/pyinstaller. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/72584fee-4f67-4534-87b5-96ad86a2cb84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.