How install python modules into addon on Windows?

pip has module installed, but it’s still No module named 'regex'. So i guess it’s using own Python.

I was looking on files. Some have construction like

import gi
gi.require_version('GeocodeGlib', '1.0')
from gi.repository import GeocodeGlib

So I tried it

import gi
gi.require_version('regex', '2023.10.3')
from gi.repository import regex

But then it’s Namespace regex not available

In SuperTool, Kari does:

To import modules they need to be installed. And that’s re, not regex. It’s only support Latin scripting.

Yes. The AIO uses an embedded python.

Version 5.2 will be shipped with its own copy of pip and will allow pure python modules to be installed.

1 Like


Will that say that it will be possible to upgrade the drivers for your MongoDB-API? also in AIO for Windows?

Will the 5.2 Mac version also ship with its own version of pip?

No. The mongodb package is not pure python.

It should be possible, but I’m not sure if John Ralls is intending to do so. We would have to ask him.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.