Brannydonowt / autoinsta

Python-Based Automated Instagram Accounts. Create and Grow Instagram Accounts Automatically.
MIT License
21 stars 3 forks source link

swap msilib with alternative for linux #2

Closed bugbounted closed 2 years ago

bugbounted commented 2 years ago

Hi Brannydonowt, please use another package on bot.py line 3 instead of 'from msilib.schema import File' becase msilib is a python module built for the Windows platform, as the documentation shows. Therefore, you should not try and import it in a python script which you run on an Ubuntu platform. see terminal log in ubuntu 22.04: (venv) root@server-virtual-machine:~/autoinsta# python bot.py Traceback (most recent call last): File "/root/autoinsta/bot.py", line 3, in <module> from msilib.schema import File ModuleNotFoundError: No module named 'msilib' I am waiting for the code to be coordinated for the Linux platform.

Brannydonowt commented 2 years ago

I'll jump on this right away

Brannydonowt commented 2 years ago

Fixed with commit 62cebef

Import isn't used. Also tidied up other redundant imports.