Skip to content

.Spec file can build on my computer but cannot build on another computer #6784

Answered by bwoodsend
isisgonzalez183 asked this question in Help
Discussion options

You must be logged in to vote

He's probably mixing up Python environments so that pyinstaller and his packages are in different environments. Get him to use python -m for pip and PyInstaller.

python -m pip install pyinstaller your dependencies here

# Check your code actually runs under this Python environment when invoked from cmd.
python your-code.py

# Do the build - note PyInstaller is case-sensitive here 
python -m PyInstaller your-spec-file.spec

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@isisgonzalez183
Comment options

Answer selected by isisgonzalez183
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants