e***@gmail.com
2018-06-25 23:04:14 UTC
Hello,
I put up Pyzo and Miniconda on my usb key. By the way I like a lot, with conda and pip everything is very easy to install.
I develop a small application (coded in Python3) and I created a little script (which uses PyInstaller) which creates executables.
My script works very well under GNU/Linux (I do not use Pyzo), but under windows I have a problem (everything seems well installed, Pillow, Numpy, PdfKit, PyQt5 and PyInstaller):
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) on Windows (64 bits).
This is the Pyzo interpreter with integrated event loop for PYQT5.
Type 'help' for help, type '?' for a list of *magic* commands.
Running script: "D:\projet_APSC_py3_pyqt5_Windows\pyinstaller_creation_executable.py"
self.data_f : ['D:\\projet_APSC_py3_pyqt5_Windows\\smileys_evaluation\\smiley_neutre_jaune_18x18.png', 'D:\\projet_APSC_py3_pyqt5_Windows\\smileys_evaluation\\smiley_content_vert_18x18.png', 'D:\\projet_APSC_py3_pyqt5_Windows\\affichage_apsc\\apsc_oubli_de_charger_une_ref_art.png', 'D:\\projet_APSC_py3_pyqt5_Windows\\smileys_evaluation\\smiley_pas_content_orange_18x18.png']
733 INFO: PyInstaller: 3.3.1
733 INFO: Python: 3.6.5
733 INFO: Platform: Windows-7-6.1.7601-SP1
779 INFO: wrote D:\projet_APSC_py3_pyqt5_Windows\apsc.spec
779 INFO: UPX is not available.
779 INFO: Removing temporary files and cleaning cache in \\c-dunoi-sadkoxo.dunois.clg14.lan\APPDATA$\alama\AppData\Roaming\pyinstaller
4266 INFO: Extending PYTHONPATH with paths
['D:\\projet_APSC_py3_pyqt5_Windows', 'D:\\projet_APSC_py3_pyqt5_Windows']
4266 INFO: checking Analysis
4266 INFO: Building Analysis because out00-Analysis.toc is non existent
4266 INFO: Initializing module dependency graph...
4281 INFO: Initializing module graph hooks...
4281 INFO: Analyzing base_library.zip ...
10687 INFO: running Analysis out00-Analysis.toc
10687 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by D:\pyzo_python_portable\python_miniconda_installation\python.exe
11483 INFO: Caching module hooks...
11483 INFO: Analyzing D:\projet_APSC_py3_pyqt5_Windows\apsc_gui.py
12419 INFO: Processing pre-find module path hook distutils
13984 INFO: Processing pre-find module path hook site
13984 INFO: site: retargeting to fake-dir 'D:\\pyzo_python_portable\\python_miniconda_installation\\lib\\site-packages\\PyInstaller\\fake-modules'
14891 INFO: Loading module hooks...
14891 INFO: Loading module hook "hook-PIL.Image.py"...
15547 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
15562 INFO: Import to be excluded not found: 'FixTk'
15562 INFO: Excluding import 'tkinter'
15562 INFO: Loading module hook "hook-PIL.py"...
15562 INFO: Import to be excluded not found: 'FixTk'
15562 INFO: Excluding import 'PyQt4'
15562 INFO: Removing import of PyQt4 from module PIL.ImageQt
15562 INFO: Excluding import 'PySide'
15562 INFO: Removing import of PySide from module PIL.ImageQt
15562 INFO: Excluding import 'PyQt5'
15562 INFO: Removing import of PyQt5.QtGui from module PIL.ImageQt
15562 INFO: Removing import of PyQt5.QtCore from module PIL.ImageQt
15562 INFO: Excluding import 'tkinter'
15562 INFO: Removing import of tkinter from module PIL.ImageTk
15562 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
15765 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
16779 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
16779 INFO: Loading module hook "hook-PyQt5.py"...
16795 INFO: Loading module hook "hook-_tkinter.py"...
17330 INFO: checking Tree
17330 INFO: Building Tree because out00-Tree.toc is non existent
17330 INFO: Building Tree out00-Tree.toc
17767 INFO: checking Tree
17767 INFO: Building Tree because out01-Tree.toc is non existent
17767 INFO: Building Tree out01-Tree.toc
17845 INFO: Loading module hook "hook-distutils.py"...
17845 INFO: Loading module hook "hook-encodings.py"...
18063 INFO: Loading module hook "hook-lib2to3.py"...
18063 INFO: Loading module hook "hook-pkg_resources.py"...
18890 INFO: Processing pre-safe import module hook win32com
19062 INFO: Loading module hook "hook-pycparser.py"...
19267 INFO: Loading module hook "hook-pydoc.py"...
19267 INFO: Loading module hook "hook-pythoncom.py"...
19797 INFO: Loading module hook "hook-pywintypes.py"...
20328 INFO: Loading module hook "hook-setuptools.py"...
23468 INFO: Loading module hook "hook-sysconfig.py"...
23484 INFO: Loading module hook "hook-win32com.py"...
24045 INFO: Loading module hook "hook-xml.py"...
24157 INFO: Loading module hook "hook-PyQt5.Qt.py"...
24157 INFO: Loading module hook "hook-PyQt5.QtPrintSupport.py"...
24344 INFO: Loading module hook "hook-numpy.core.py"...
25005 INFO: MKL libraries found when importing numpy. Adding MKL to binaries
25051 INFO: Looking for ctypes DLLs
25083 INFO: Analyzing run-time hooks ...
25083 INFO: Including run-time hook 'pyi_rth_qt5.py'
25083 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
25098 INFO: Including run-time hook 'pyi_rth_pkgres.py'
25098 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
25114 INFO: Looking for dynamic libraries
25317 WARNING: lib not found: impi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_intelmpi_ilp64.dll
26908 WARNING: lib not found: pgf90rtl.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_pgi_thread.dll
27001 WARNING: lib not found: pgf90.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_pgi_thread.dll
27095 WARNING: lib not found: pgc14.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_pgi_thread.dll
34834 WARNING: lib not found: msmpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_msmpi_ilp64.dll
36482 WARNING: lib not found: tbb.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_tbb_thread.dll
36748 WARNING: lib not found: impi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_intelmpi_lp64.dll
36950 WARNING: lib not found: mpich2mpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_mpich2_lp64.dll
37080 WARNING: lib not found: mpich2mpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_mpich2_ilp64.dll
38313 WARNING: lib not found: msmpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_msmpi_lp64.dll
40780 INFO: Looking for eggs
40780 INFO: Using Python library D:\pyzo_python_portable\python_miniconda_installation\python36.dll
40780 INFO: Found binding redirects:
[]
40827 INFO: Warnings written to D:\projet_APSC_py3_pyqt5_Windows\build\apsc\warnapsc.txt
41939 INFO: Graph cross-reference written to D:\projet_APSC_py3_pyqt5_Windows\build\apsc\xref-apsc.html
42173 INFO: checking PYZ
42173 INFO: Building PYZ because out00-PYZ.toc is non existent
42173 INFO: Building PYZ (ZlibArchive) D:\projet_APSC_py3_pyqt5_Windows\build\apsc\out00-PYZ.pyz
48514 INFO: Building PYZ (ZlibArchive) D:\projet_APSC_py3_pyqt5_Windows\build\apsc\out00-PYZ.pyz completed successfully.
48702 INFO: checking PKG
48702 INFO: Building PKG because out00-PKG.toc is non existent
48702 INFO: Building PKG (CArchive) out00-PKG.pkg
49754 INFO: Updating manifest in \\c-dunoi-sadkoxo.dunois.clg14.lan\APPDATA$\alama\AppData\Roaming\pyinstaller\bincache00_py36_64bit\python36.dll
49754 INFO: Updating resource type 24 name 2 language 1033
Downloading https://files.pythonhosted.org/packages/f0/14/d31a15ce4aea4e03b5ab6bc246480eacb53103bacecef5c4db11097b0dc6/mkl-2018.0.3-py2.py3-none-win_amd64.whl (228.2MB)
Collecting intel-openmp==2018.0.3 (from mkl)
Downloading https://files.pythonhosted.org/packages/92/6e/13102aa9d378966f870f28851f18d76de23aa875f19c582fdbf68ac7946f/intel_openmp-2018.0.3-py2.py3-none-win_amd64.whl (1.9MB)
pyinstaller 3.3.1 requires pypiwin32, which is not installed.
mkl-random 1.0.1 requires cython, which is not installed.
mkl-fft 1.0.2 requires cython, which is not installed.
Installing collected packages: intel-openmp, mkl
Successfully installed intel-openmp-2018.0.3 mkl-2018.0.3
How to do ? Can you help me ?
See you soon.
I put up Pyzo and Miniconda on my usb key. By the way I like a lot, with conda and pip everything is very easy to install.
I develop a small application (coded in Python3) and I created a little script (which uses PyInstaller) which creates executables.
My script works very well under GNU/Linux (I do not use Pyzo), but under windows I have a problem (everything seems well installed, Pillow, Numpy, PdfKit, PyQt5 and PyInstaller):
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) on Windows (64 bits).
This is the Pyzo interpreter with integrated event loop for PYQT5.
Type 'help' for help, type '?' for a list of *magic* commands.
Running script: "D:\projet_APSC_py3_pyqt5_Windows\pyinstaller_creation_executable.py"
self.data_f : ['D:\\projet_APSC_py3_pyqt5_Windows\\smileys_evaluation\\smiley_neutre_jaune_18x18.png', 'D:\\projet_APSC_py3_pyqt5_Windows\\smileys_evaluation\\smiley_content_vert_18x18.png', 'D:\\projet_APSC_py3_pyqt5_Windows\\affichage_apsc\\apsc_oubli_de_charger_une_ref_art.png', 'D:\\projet_APSC_py3_pyqt5_Windows\\smileys_evaluation\\smiley_pas_content_orange_18x18.png']
733 INFO: PyInstaller: 3.3.1
733 INFO: Python: 3.6.5
733 INFO: Platform: Windows-7-6.1.7601-SP1
779 INFO: wrote D:\projet_APSC_py3_pyqt5_Windows\apsc.spec
779 INFO: UPX is not available.
779 INFO: Removing temporary files and cleaning cache in \\c-dunoi-sadkoxo.dunois.clg14.lan\APPDATA$\alama\AppData\Roaming\pyinstaller
4266 INFO: Extending PYTHONPATH with paths
['D:\\projet_APSC_py3_pyqt5_Windows', 'D:\\projet_APSC_py3_pyqt5_Windows']
4266 INFO: checking Analysis
4266 INFO: Building Analysis because out00-Analysis.toc is non existent
4266 INFO: Initializing module dependency graph...
4281 INFO: Initializing module graph hooks...
4281 INFO: Analyzing base_library.zip ...
10687 INFO: running Analysis out00-Analysis.toc
10687 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by D:\pyzo_python_portable\python_miniconda_installation\python.exe
11483 INFO: Caching module hooks...
11483 INFO: Analyzing D:\projet_APSC_py3_pyqt5_Windows\apsc_gui.py
12419 INFO: Processing pre-find module path hook distutils
13984 INFO: Processing pre-find module path hook site
13984 INFO: site: retargeting to fake-dir 'D:\\pyzo_python_portable\\python_miniconda_installation\\lib\\site-packages\\PyInstaller\\fake-modules'
14891 INFO: Loading module hooks...
14891 INFO: Loading module hook "hook-PIL.Image.py"...
15547 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
15562 INFO: Import to be excluded not found: 'FixTk'
15562 INFO: Excluding import 'tkinter'
15562 INFO: Loading module hook "hook-PIL.py"...
15562 INFO: Import to be excluded not found: 'FixTk'
15562 INFO: Excluding import 'PyQt4'
15562 INFO: Removing import of PyQt4 from module PIL.ImageQt
15562 INFO: Excluding import 'PySide'
15562 INFO: Removing import of PySide from module PIL.ImageQt
15562 INFO: Excluding import 'PyQt5'
15562 INFO: Removing import of PyQt5.QtGui from module PIL.ImageQt
15562 INFO: Removing import of PyQt5.QtCore from module PIL.ImageQt
15562 INFO: Excluding import 'tkinter'
15562 INFO: Removing import of tkinter from module PIL.ImageTk
15562 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
15765 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
16779 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
16779 INFO: Loading module hook "hook-PyQt5.py"...
16795 INFO: Loading module hook "hook-_tkinter.py"...
17330 INFO: checking Tree
17330 INFO: Building Tree because out00-Tree.toc is non existent
17330 INFO: Building Tree out00-Tree.toc
17767 INFO: checking Tree
17767 INFO: Building Tree because out01-Tree.toc is non existent
17767 INFO: Building Tree out01-Tree.toc
17845 INFO: Loading module hook "hook-distutils.py"...
17845 INFO: Loading module hook "hook-encodings.py"...
18063 INFO: Loading module hook "hook-lib2to3.py"...
18063 INFO: Loading module hook "hook-pkg_resources.py"...
18890 INFO: Processing pre-safe import module hook win32com
19062 INFO: Loading module hook "hook-pycparser.py"...
19267 INFO: Loading module hook "hook-pydoc.py"...
19267 INFO: Loading module hook "hook-pythoncom.py"...
19797 INFO: Loading module hook "hook-pywintypes.py"...
20328 INFO: Loading module hook "hook-setuptools.py"...
23468 INFO: Loading module hook "hook-sysconfig.py"...
23484 INFO: Loading module hook "hook-win32com.py"...
24045 INFO: Loading module hook "hook-xml.py"...
24157 INFO: Loading module hook "hook-PyQt5.Qt.py"...
24157 INFO: Loading module hook "hook-PyQt5.QtPrintSupport.py"...
24344 INFO: Loading module hook "hook-numpy.core.py"...
25005 INFO: MKL libraries found when importing numpy. Adding MKL to binaries
25051 INFO: Looking for ctypes DLLs
25083 INFO: Analyzing run-time hooks ...
25083 INFO: Including run-time hook 'pyi_rth_qt5.py'
25083 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
25098 INFO: Including run-time hook 'pyi_rth_pkgres.py'
25098 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py'
25114 INFO: Looking for dynamic libraries
25317 WARNING: lib not found: impi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_intelmpi_ilp64.dll
26908 WARNING: lib not found: pgf90rtl.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_pgi_thread.dll
27001 WARNING: lib not found: pgf90.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_pgi_thread.dll
27095 WARNING: lib not found: pgc14.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_pgi_thread.dll
34834 WARNING: lib not found: msmpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_msmpi_ilp64.dll
36482 WARNING: lib not found: tbb.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_tbb_thread.dll
36748 WARNING: lib not found: impi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_intelmpi_lp64.dll
36950 WARNING: lib not found: mpich2mpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_mpich2_lp64.dll
37080 WARNING: lib not found: mpich2mpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_mpich2_ilp64.dll
38313 WARNING: lib not found: msmpi.dll dependency of D:\pyzo_python_portable\python_miniconda_installation\Library\bin\mkl_blacs_msmpi_lp64.dll
40780 INFO: Looking for eggs
40780 INFO: Using Python library D:\pyzo_python_portable\python_miniconda_installation\python36.dll
40780 INFO: Found binding redirects:
[]
40827 INFO: Warnings written to D:\projet_APSC_py3_pyqt5_Windows\build\apsc\warnapsc.txt
41939 INFO: Graph cross-reference written to D:\projet_APSC_py3_pyqt5_Windows\build\apsc\xref-apsc.html
42173 INFO: checking PYZ
42173 INFO: Building PYZ because out00-PYZ.toc is non existent
42173 INFO: Building PYZ (ZlibArchive) D:\projet_APSC_py3_pyqt5_Windows\build\apsc\out00-PYZ.pyz
48514 INFO: Building PYZ (ZlibArchive) D:\projet_APSC_py3_pyqt5_Windows\build\apsc\out00-PYZ.pyz completed successfully.
48702 INFO: checking PKG
48702 INFO: Building PKG because out00-PKG.toc is non existent
48702 INFO: Building PKG (CArchive) out00-PKG.pkg
49754 INFO: Updating manifest in \\c-dunoi-sadkoxo.dunois.clg14.lan\APPDATA$\alama\AppData\Roaming\pyinstaller\bincache00_py36_64bit\python36.dll
49754 INFO: Updating resource type 24 name 2 language 1033
pip install mkl
Collecting mklDownloading https://files.pythonhosted.org/packages/f0/14/d31a15ce4aea4e03b5ab6bc246480eacb53103bacecef5c4db11097b0dc6/mkl-2018.0.3-py2.py3-none-win_amd64.whl (228.2MB)
Collecting intel-openmp==2018.0.3 (from mkl)
Downloading https://files.pythonhosted.org/packages/92/6e/13102aa9d378966f870f28851f18d76de23aa875f19c582fdbf68ac7946f/intel_openmp-2018.0.3-py2.py3-none-win_amd64.whl (1.9MB)
pyinstaller 3.3.1 requires pypiwin32, which is not installed.
mkl-random 1.0.1 requires cython, which is not installed.
mkl-fft 1.0.2 requires cython, which is not installed.
Installing collected packages: intel-openmp, mkl
Successfully installed intel-openmp-2018.0.3 mkl-2018.0.3
How to do ? Can you help me ?
See you soon.
--
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyzo+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.