A Python-based toolkit for efficient Gmail label management and email processing. It simplifies fetching and exporting emails by labels, making it ideal for automation and data extraction tasks.
MIT License
0
stars
0
forks
source link
ModuleNotFoundError: No module named 'gmail_main_sc' #1
Thanks for the script, it would be helpful... but:
Your requirements are messed up (and...):
$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Invalid requirement: "'google-api-python-client>=2.88.0'," (from line 1 of requirements.txt)
I had to edit requirements and remove quotes and commas that are not supposed to be there. Each line must be just the packages:
$ gmail-processor
Traceback (most recent call last):
File "/XXXXXX/.local/bin/gmail-processor", line 5, in <module>
from gmail_main_sc import main
ModuleNotFoundError: No module named 'gmail_main_sc'
$ gmail-processor
Traceback (most recent call last):
File "/XXX/.local/bin/gmail-processor", line 33, in <module>
sys.exit(load_entry_point('gmail-label-email-processor', 'console_scripts', 'gmail-processor')())
File "/XXX/.local/bin/gmail-processor", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gmail_main_sc'
Thanks for the script, it would be helpful... but:
Your requirements are messed up (and...):
I had to edit requirements and remove quotes and commas that are not supposed to be there. Each line must be just the packages:
Output of launching your script:
Tried to install locally:
Still the same error: