How do I import an external module when a local module masks a standard library module imported by the external module?

I have a local module named tokenize.py, masks a
standard library module of the same name. I only discovered this when
I tried to import an external module (sklearn.linear_model), which in
turn does import tokenize and expects to get the standard
library module, but gets my local module instead.

This is
related to How to access a standard-library module in Python when
there is a local module with the same name?, but the setting is
different, because applying the above solution would require modifying
the external module.

An option would be to rename the
local tokenize.py, but I would prefer not to do so as
"tok

Related to : How do I import an external module when a local module masks a standard library module imported by the external module?

I have a local module named tokenize.py, masks a
standard library module of the same name. I only discovered this when
I tried to import an external module (sklearn.linear_model), which in
turn does import tokenize and expects to get the standard
library module, but gets my local module instead.

This is
related to How to access a standard-library module in Python when
there is a local module with the same name?, but the setting is
different, because applying the above solution would require modifying
the external module.

An option would be to rename the
local tokenize.py, but I would prefer not to do so as
"tok