• Home

Unable To Find Module Info File

 
Unable

Seriosuly for those who are complaing about the 'unable to find module file' just scroll to the bottom. It's right there under SOLVED THE DOWNLOAD ISSUE 'Subscribe first, and once it's finished downloading, open your main steam folder (c:/program files/steam and SEARCH for Vex. This will bring up a.rar file that you can open with 7zip or winrar.

I'm quite new to phyton and I've just finished my first application.Now, I'm trying to compile my .py file to an .exe buy that doestn seem to work.I've looked everywhere for a solutio to my problem, but I just cant seem to find one.

When I run this command: pyinstaller gui.py

this error shows up:

My path variable:

Ive been trying to fix this for a whole day now, if anyone could help me/ point me in the right direction that would be greatly appericiated.

edit:

Also, since i've reinstalled some things to try and fix the problem. the file wont start and gives this error:

xVivioxVivio

5 Answers

Conda 4.5.11,Python 3.6.4,PyInstaller 3.4

The plugin path is determined incorrectly in hooks/qt.py. Qt requires that QCoreApplication is instantiated first, before any other calls.

My qt.py hook is in ~anaconda3Libsite-packagesPyInstallerutilshooksqt.py.

I edited it like so:

see 1.

AldoAldo

Try the fix in Exception: Cannot find PyQt5 plugin directories when using Pyinstaller despite PyQt5 not even being used. In short:

pip intall PyQt5

Note that, strangely enough, conda install PyQt5 may not fix the problem.

I encountered the same problem and saw another suggestion: make the missing directory (C:/qt5b/qt_1524647842210/_h_env/Library/plugins in your case) and copy the two files pyqt5.dll and pyqt5qmlplugin.dll (presumably somewhere in c:Users[name]AppDataLocalcondacondaenvs) to the directory.

I did not try it since I fixed the problem with pip install PyQt5. You may want to give it a try.

cong yucong yu

I am using Python 3.6.3 with ANACONDA3 and Spyder as IDE. Pyinstaller 3.4.

Steam Unable To Find Module Info File

Trying to generate an exe file with Pyinstaller, I had two kinds of errors:

  1. 'AttributeError: 'str' object has no attribute 'items' '. This was resolved by updating each module imported in the Python script, with : pip install --upgrade <module_name>
  2. 'Cannot find existing PyQt5 plugin directories' :this was the next error. As mentioned by cong yu in his previous post, I fixed this problem by running pip install PyQt5

  3. Do not forget to upgrade setuptools to the latest version as well

The process delivered an exe file which I have not yet tested.But at least, I got Pyinstaller reaching the end without failing in error.

Hope this could be helpful

And, by the way, Happy New Year :)

Edit:

I have tested the standalone .exe produced by py2exeThe program is running and get to the end without errors.

But the problem is that xlsx is no more running, because no Excel files are created. These files are based on pandas dataframes.My hint is that pandas module, which is the main core of the program, seems to be altered. I noticed that the dataframes used were truncated, through the control lines edited in the Ipython console in Spyder.

I think that my best alternative is to reinstall Anaconda3.

So be careful, upgrading the modules used in the program you want as standalone with py2exe. It seems that upgrading pandas module was a mistake.

I am sorry, if I gave a bad advice in my main post, but upgrading was the best way to run py2exe. Be careful with the upgrade of pandas.

Eric XEric X

Try uninstalling Anaconda. There have been issues in the past. If not you can try py2exe that is fairly decent too.

Vishnu KiranVishnu Kiran

I installed the latest version of PyInstaller, then this exception of 'Cannot find existing PyQt5 plugin directories' is addressed.

You can install the latest version of PyInstaller through the following command:

P.S: Some information about my setup:

ZhenyuZhenyu

Not the answer you're looking for? Browse other questions tagged pythonanacondapyqt5pyinstaller or ask your own question.


************* Symbol Path validation summary **************
Response Time (ms) Location
OK c:symbols
Deferred srv*c:symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: c:symbols;srv*c:symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Unable to load image SystemRootsystem32ntoskrnl.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntoskrnl.exe
*** ERROR: Module load completed but symbols could not be loaded for ntoskrnl.exe
Windows 10 Kernel Version 10130 MP (4 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 10130.0.amd64fre.fbl_impressive.150522-2224
Machine Name:
Kernel base = 0xfffff803`fb20f000 PsLoadedModuleList = 0xfffff803`fb546cd0
Debug session time: Sun Jun 14 04:03:03.477 2015 (UTC - 5:00)
System Uptime: 1 days 1:12:13.366
Unable to load image SystemRootsystem32ntoskrnl.exe, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ntoskrnl.exe
*** ERROR: Module load completed but symbols could not be loaded for ntoskrnl.exe
Loading Kernel Symbols
.