Hi,

To pick up on my own note:

I have succeeded in compilation my Kivy app - not so much the Kivy example 
(touchtracer).

I suggest that there is a Kivy incompatibility (bug?) in PyInstaller 3.6.

The solution I found was to overwrite PyInstaller with an older version. 
That was my entire solution.

The solution which is described here:
https://stackoverflow.com/questions/37815371/pyinstaller-failed-to-execute-script-pyi-rth-pkgres-and-missing-packages

was to reinstall PyInstaller:

pip uninstall pyinstaller
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip


Thanks



On Thursday, 30 January 2020 21:09:38 UTC+11, Leigh Yarrat wrote:

>
> Hi,
> I am trying to follow the touchtracer compiling example project for 
> Windows provided by Kivy. 
> https://kivy.org/doc/stable/guide/packaging-windows.html
>
> I get to step 2: "python -m PyInstaller --name touchtracer 
> examples-path\demo\touchtracer\main.py"
> and the process produces the required spec file but also the error shown 
> below.
>
> "File 
> "C:\Users\leigh.martin\Python\Python37\lib\site-packages\PyInstaller\compat.py",
>  
> line 415, in exec_command
>     outsubprocess.Popen(
> NameError: name 'outsubprocess' is not defined"
>
> I have worked on this for quite a while but cannot make progress.
> Anybody able to suggest what should do?
> If I ignored the error and continue I get a executable that closes on open.
>
> I have checked that I have the requirements- Windows 10, Python 3.7.6, 
> PyInstaller 3.6, 
> Requirement already up-to-date: pyinstaller in 
> c:\users\leigh.martin\python\python37\lib\site-packages (3.6)
> Requirement already satisfied: altgraph in ...\python37\lib\site-packages 
> (from pyinstaller) (0.17)
> Requirement already satisfied: pefile>=2017.8.1 in 
> ...\python37\lib\site-packages (from pyinstaller) (2019.4.18)
> Requirement already satisfied: pywin32-ctypes>=0.2.0 in 
> ...\python37\lib\site-packages (from pyinstaller) (0.2.0)
> Requirement already satisfied: setuptools in 
> ...\python37\lib\site-packages (from pyinstaller) (45.1.0)
> Requirement already satisfied: future in ...\python37\lib\site-packages 
> (from pefile>=2017.8.1->pyinstaller) (0.18.2)
>
> Thanks
> Leigh
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/5b073060-1f7b-4268-929e-8d548efc1abf%40googlegroups.com.

Reply via email to