Re: matplotlib fails to import distutils on windows deploy

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
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    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.