PyInstaller: IOError: [Errno 2] No such file or directory:
问题 I am trying to compile a python script using pyinstaller with modules like scientific,MMTK. Pyinstaller was unable to include some .pyd modules so I copied them manually in the dist folder. When I executed the compiled exe it gave me following error:- C:\Python27\hello\dist\hello>hello.exe Traceback (most recent call last): File "", line 21, in File "C:\Python27\iu.py", line 436, in importHook mod = _self_doimport(nm, ctx, fqname) File "C:\Python27\iu.py", line 521, in doimport exec co in mod