New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put all data into a sub-directory? #2702
Comments
Was having the same problem and want to add that it seems like this is only an issue on Linux (maybe macOS, can't test this) but not on Windows (at least Win 10). I'm comparing similar Python environments, so this shouln't be any issue. |
This will happen when both the generated binary and the directory you want to create have the same name. In Unix, there can't be a directory and a file with the same name at once, so it prints an error. |
I've also encountered this - with PyInstaller 4.0, working on macOS or Linux, and the codebase expanded from this sdist the command |
crashes with
This is caused by the executable having the same name as the data-directory (
pytz
). See #2697.The only solution I can think about is to put all data into some sub-directory. Then the name of this sub-directory could be make configurable. I'm not clear in my mind about the implications of such a change.
The text was updated successfully, but these errors were encountered: