Closed franklinworm closed 3 years ago
Yes, you need to install the other modules using pip. (scapy / requests / Pillow / mysql-connector)
Still same Traceback (most recent call last): File "main.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "myglobals.py", line 2, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "functions.py", line 28, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\DemoParser.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\NETMSG_pb2.py", line 5, in <module> ModuleNotFoundError: No module named 'google'
This is when i'm to building package for app >4.2
When I'm tried to build package for app <=4.1, This error occurs Traceback (most recent call last): File "main.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "myglobals.py", line 2, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "functions.py", line 28, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\DemoParser.py", line 4, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "csgo_demoparser\NETMSG_pb2.py", line 5, in <module> ModuleNotFoundError: No module named 'google'
My bad, I forgot about that one. There's one more module named 'protobuf' It should work after that
I already installed protobuff and still got that warning
That's weird. When I create a new python environment and dont install modules, I got the same errors. But after installing those 5, not anymore. I'll try again once I get home
I can't replicate this. I made 4 new python environments and every time after installing those 5 packages the error would disappear. The protobuf you have only has one ' f ' at the end right?
Yes, What module should I install now?
Only those 5 (scapy / requests / Pillow / mysql-connector / protobuf)
Make sure you have all 5 in your python environment
I already install all modules that you've been mentioned, but still got errors.
Can you open a console and type: pip freeze
And share a screenshot?
I have another ideea. Uninstall pyinstaller (pip uninstall pyinstaller). Install pyinstaller v4.2 (pip install pyinstaller==4.2) If this doesn't work, I'm out of ideeas. Maybe reinstall python?
Its working now thanks!
Traceback (most recent call last): File "main.py", line 4, in
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "myglobals.py", line 2, in
File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module
File "functions.py", line 17, in
ModuleNotFoundError: No module named 'scapy'