Re: Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"

2016-08-10 Thread Ernest Bonat, Ph.D.
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. 
wrote:

>  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
>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"

2016-08-07 Thread Ernest Bonat, Ph.D.
 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
-- 
https://mail.python.org/mailman/listinfo/python-list