79681666

Date: 2025-06-27 08:58:16
Score: 2.5
Natty:
Report link

Now have this error.

`Traceback (most recent call last):
  File "main_periodica.py", line 44, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "requests/__init__.py", line 164, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "requests/api.py", line 11, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "requests/sessions.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 419, in exec_module
  File "requests/adapters.py", line 81, in <module>
FileNotFoundError: [Errno 2] No such file or directory
[64646] Failed to execute script 'main_periodica' due to unhandled exception!`

I looked at similar errors like

touch your_python_file_directory/__init__.py

Now I don't see the GLBV variables module. This module is a .py file used to have global variables in the main_periodica.py

error


Traceback (most recent call last):
  File "py_ACQD_periodica_ACQD/main_periodica.py", line 9, in <module>
ModuleNotFoundError: No module named 'GLBV'
[88712] Failed to execute script 'main_periodica' due to unhandled exception!

I tried to include it as a file but it doesn't work I don't know how to make it see the form --add-data="GLBV.py:GLBV.py/" \

in main_periodica.py

import GLBV

how can i fix it and why cant i see the file in the same folder?

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Graziano Giacobazzi