import two versions of library in same Python script?

  import, keras, python

I want to do:

from keras import applications              # keras==2.2.4
from keras.layers import TextVectorization  # keras==2.6.0

Is it possible? Thanks!

Source: Python Questions

LEAVE A COMMENT