rcarmo / imapbackup

A Python script for incremental backups of IMAP mailboxes

Home Page:http://taoofmac.com/space/projects/imapbackup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't run on python 3.9.5 windows

leaumar opened this issue · comments

I have no experience with python so perhaps I'm making a rookie mistake, but since the project says it has 0 dependencies I wouldn't know what it could be.

I think the following output from my terminal says it all:

PS D:\Downloads\Edge\imapbackup-master> python
Python 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()

PS D:\Downloads\Edge\imapbackup-master> python imapbackup38.py
Traceback (most recent call last):
  File "D:\Downloads\Edge\imapbackup-master\imapbackup38.py", line 58, in <module>
    from six import string_types
ModuleNotFoundError: No module named 'six'

The same thing happened with python 3.8.5. Any tips, please?

I'll need to check what Python for Windows comes with these days, and what happened to six. The Python 3.8 version was supplied by @mmachicao, so tagging him for follow-up as he might not be aware that he introduced that dependency and it needs to be taken out.

commented
commented

Interesting...

Only one occurrence.

Conflict is here (line 126):

..
assert isinstance(value, string_types)
..

commented

Dependency is removed and fix has been merged.

Thanks, I gave it another go and it worked. Now I've run into what seems like a bug to me, perhaps protocol version differences? I'll log it as a separate ticket.

Thanks to both, I'll close this and check the other ticket.