Most likely, you are running a 64 bit version of Python. Due to Windows restrictions, only 32 bit programs can talk to each other. If you download and install a 32 bit version of Python, you may find success. PyCharm and Windows will happily allow multiple versions of Python to work alongside each other. Select your Python version under File --> Settings --> Project --> Python Interpreter
On Tue, Dec 7, 2021 at 8:30 PM Dan Moisan <drmoi...@gmail.com> wrote: > I apologize in advance for the basic question, but I have spent about 40 > hours researching how to make the demo "outlookAddin.py" load on my Outlook > 2016 32 bit application. I am running Python version 3.7 and I can > successfully run the outlookAddin.py script from PyCharm. But then when I > open outlook, I always receive the message "... not loaded. a runtime error > occurred during the loading of the com add-in". > > I am sure that I missing a very basic step to make this run, but I can't > seem to find anything online. Do I need to do something to compile the > outlookAddin.py script before or after I run it? Or should the add-in load > after it is registered? I'm so sorry for such a basic question. > > Thank you! > > Dan > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32