Skip to content

ImportPythonUDFS throws a run-time error '53' (xlwings 0.6.1) #323

@issatayev

Description

@issatayev

I have Anaconda2(32-bit) installed on my computer(Windows 7 Professional, 64-bit), and I am using Microsoft Excel 2010(32-bit). I used ExcelPython previously, and it worked fine. Then I updated everything to xlwings 0.6.1 and deleted ExcelPython because xlwings and ExcelPython merged.

I added necessary xlwings.bas file to VBA as a module. When I press Alt+F8 button, which brings up "Macro" pop-up window, "ImportPythonUDFs" macro appears in the list. However, when I press "Run" button, it throws me "Run-time error '53'" error saying "File not found: xlwings32.dll".

This is what I tried so far:

  1. When I provided path to python.exe file in "PYTHON_WIN" field and executed "ImportPythonUDFs", this error message appeared: "Run-time error '1': Could not load xlwings32.dll from either of the following folders: C:\Users\xyz\AppData\Local\Continuum\Anaconda2, C:\Users\xyz\AppData\Local\Continuum"

  2. I checked that my xlwings32.dll sits next to python.exe file. – Nomad 15 mins ago

  3. I tried uninstalling xlwings from computer by "pip uninstall xlwings". Command Prompt says that xlwings was successfully uninstalled. However, when I want to reinstall xlwings by typing "pip install xlwings", Commad Prompt says "Requirement already satisfied". How is this possible if I just uninstalled xlwings entirely from my computer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions