Python.Included icon indicating copy to clipboard operation
Python.Included copied to clipboard

Help trouble shoot correct install of regex package.

Open mediabuff opened this issue 1 year ago • 0 comments

Hi, MyApp depends on regex package. I add the following:

static async Task Main(string[] args) { var i = new Installer(); await i.SetupPython();

    # I am using the following python library 
     await i.InstallWheel(typeof(Program).Assembly, "MyApp.aksharamukha-2.1.2-py3-none-any.whl");

    # it looks like the above package needs 'regex''. So, I add 
     await i.InstallWheel(typeof(Program).Assembly, MyApp.regex-2023.5.5-cp311-cp311-win_amd64.whl", true);

}

I get the following error, in spite of no error messages in installing regex;

Unhandled exception. Python.Runtime.PythonException: ModuleNotFoundError : No module named 'regex._regex'

mediabuff avatar May 14 '23 22:05 mediabuff