[PyQt] pyqtdeploy unable to freeze files
Kyle Altendorf
sda at fstab.net
Wed Nov 23 19:19:39 GMT 2016
http://pyqt.sourceforge.net/Docs/pyqtdeploy/
It sounds like you missed several steps because you are responsible for
setting $SYSROOT (or %SYSROOT% if you prefer for Windows) and for
creating the directory and contents it points to.
It took me awhile to figure out. Hopefully someday I'll get my detailed
notes put up publicly.
Cheers,
-kyle
On 2016-11-23 13:07, Cody Scott wrote:
> No there is no SYSROOT environment variable. This is on Windows 10. I do have SystemRoot=C:\WINDOWS
>
> But it looks like SYSROOT should be the Python install directory.
>
> On Wed, Nov 23, 2016 at 12:57 PM, Phil Thompson <phil at riverbankcomputing.com> wrote:
>
>> On 23 Nov 2016, at 5:50 pm, Cody Scott <cody at perspexis.com> wrote:
>>>
>>> With --verbose I get
>>> # ...
>>> Freezing C:\Users\cody\Desktop\qml-testing\main.py...
>>> Freezing C:\Users\cody\Desktop\qml-testing\$SYSROOT\lib\python3.5\_bootlocale.py...
>>> pyqtdeploycli: Unable to freeze files: C:\Users\cody\Desktop\qml-testing\$SYSROOT\lib\python3.5\_bootlocale.py: [Errno 2] No such file or directory: 'C:\\Users\\cody\\Desktop\\qml-testing\\$SYSROOT\\lib\\python3.5\\_bootlocale.py'
>>
>> Is the SYSROOT environment variable set?
>>
>> Phil
>
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20161123/3463b262/attachment-0001.html>
More information about the PyQt
mailing list