Skip to content
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

Space in directory path causes error with fbs startproject #278

Open
bicarlsen opened this issue Jun 1, 2022 · 1 comment
Open

Space in directory path causes error with fbs startproject #278

bicarlsen opened this issue Jun 1, 2022 · 1 comment

Comments

@bicarlsen
Copy link

  • Operating system(s): Ubuntu 22.04
  • Python version: 3.6.13
  • fbs version: 1.1.3
  • PyInstaller version: 3.4
  • PyQt version: 5.9.2

Error
when running fbs startproject in a directory path that has a space in the name (e.g. /home/me/Documents/Python Scripts/my_app/) I receive the error

bash: /home/me/Documents/Python Scripts/my_app/.venv/bin/fbs: "/home/me/Documents/Python: bad interpreter: No such file or directory

The problem is fixed if I run fbs startproject in a directory path without spaces (e.g. /home/me/Documents/python_scripts/my_app/).

@mherrmann
Copy link
Owner

I looked into this and have a feeling the cause of the bug lies in Python / pip, not fbs. I couldn't find an easy solution. But if someone has one, I would love to hear it.

As a workaround, you can do python -m fbs startproject instead of fbs startproject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants