[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] matplotlib fails to import distutils on windows deploy
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2020-01-29 11:10:56
Message-ID: 4a070765c6ce3214f0956247a83b3b34 () riverbankcomputing ! com
[Download RAW message or body]

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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic