Troubleshooting¶
Issue: dll not found¶
Solution:
xlwings32-<version>.dll
andxlwings64-<version>.dll
are both in the same directory as yourpython.exe
. If not, something went wrong with your installation. Reinstall it withpip
orconda
, see Installation.Check your
Interpreter
in the add-in or config sheet. If it is empty, then you need to be able to open a windows command prompt and typepython
to start an interactive Python session. If you get the error'python' is not recognized as an internal or external command, operable program or batch file.
, then you have two options: Either add the path of where yourpython.exe
lives to your Windows path (see https://www.computerhope.com/issues/ch000549.htm) or set the full path to your interpreter in the add-in or your config sheet, e.g.C:\Users\MyUser\anaconda\pythonw.exe
Issue: Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.¶
Solution:
The Python interpreter is not correctly installed or the configuration does not point to the Python interpreter. To fix this:
Verify that a Python interpreter is installed. Python can be installed in any way, including via Conda or virtual environment or the xlwings 1-click installer (part of xlwings PRO).
Check the configuration of xlwings according to its Config Hierarchy.