Groups
Groups
Sign in
Groups
Groups
comp.lang.python
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"
235 views
Skip to first unread message
Ernest Bonat, Ph.D.
unread,
Aug 7, 2016, 11:04:20 AM
8/7/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I have created a simple Python program including the following packages:
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
if __name__ == '__main__':
print("Hi!")
I have created the installation package using PyInstaller with the
following command line:
pyinstaller --onedir --name=appname --windowed "C:\appname.py"
The required folders (build and dist) and the spec file are created
properly with no errors. When I run the appname.exe file I got the error
"Failed to execute script pyi_rth_pkgres".
I'm using the following now:
- Anaconda3 4.1.1.64-bit
- Python 3.5.2
- PyInstaller 3.2
- Windows 10 64-bit
Any help is very appreciated. Feel free to contact me at any time you need.
Thank you,
Ernest Bonat, Ph.D.
Senior Software Engineer
Senior Data Scientist
Ernest Bonat, Ph.D.
unread,
Aug 10, 2016, 10:12:11 AM
8/10/16
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I have fixed this problem by following the steps:
1. Uninstall the PyInstaller downloaded from
http://www.pyinstaller.org/
pip install pyinstaller
2. Install the PyInstaller from the GitHub developer repository
pip install
https://github.com/pyinstaller/pyinstaller/archive/develop.zip
Still not clear to me why the main site
http://www.pyinstaller.org/
does
not have the latest release?
Thanks
Ernest Bonat, Ph.D.
Senior Software Engineer
Senior Data Scientist
On Sun, Aug 7, 2016 at 8:03 AM, Ernest Bonat, Ph.D. <
ernest...@gmail.com
>
wrote:
0 new messages