[PyQt] matplotlib fails to import distutils on windows deploy
Phil Thompson
phil at riverbankcomputing.com
Wed Jan 29 11:10:56 GMT 2020
On 29/01/2020 00:08, Mamoru Inugami wrote:
> Dear pyqt-list.
>
> I fail to send message to Phil directly, Sorry...
>
> I could find distutils at standard libraries.
>
> Then, I also encountered this problem.
> ....
> Freezing
> C:\Users\dino\Desktop\pyqtdeploy-2.4\demo\sysroot-win-64\lib\python3.7\distutils\core.py...
> Freezing
> C:\Users\dino\Desktop\pyqtdeploy-2.4\demo\sysroot-win-64\lib\python3.7\distutils\cygwincompiler.py...
> pyqtdeploy-build: Unable to freeze files
>
> I added --verbose output.
>
> pyqtdeploy-build: Unable to freeze files:
> C:\Users\dino\Desktop\pyqtdeploy-2.4\demo\sysroot-win-64\lib\python3.7\distutils\cygwincompiler.py:
> [Errno 2] No such file or directory:
> 'C:\\Users\\dino\\Desktop\\pyqtdeploy-2.4\\demo\\sysroot-win-64\\lib\\python3.7\\distutils\\cygwincompiler.py'
>
> I could not find cygwincompiler.py but found cygwinccompiler.py.
> I renamed cygwinccompiler.py to cygwincompiler.py, then I encountered
> another problem.
Don't rename the file. The bug is in pyqtdeploy's Python meta-data.
> pyqtdeploy-build: Unable to freeze files:
> C:\Users\dino\Desktop\pyqtdeploy-2.4\demo\sysroot-win-64\lib\python3.7\msilib.py:
> [Errno 2] No such file or directory:
> 'C:\\Users\\dino\\Desktop\\pyqtdeploy-2.4\\demo\\sysroot-win-64\\lib\\python3.7\\msilib.py'
>
> I could not find msilib,py at sysroot.(I could find test_msilib.py)
This is also a bug in the meta-data.
The fixes are in the hg repository, or you can wait for tonight's
pyqtdeploy snapshot.
Phil
More information about the PyQt
mailing list