Hi @Rhalem_c137 ,
I have my python environment set up using manual config, without using conda, BUT I hit the same problem as you if I installed python 3.12.x. I didn’t need the latest python, so I instead installed python 3.11.
The imp module was deprecated (in Python 3.4 I think I read), but was removed entirely in 3.12.
Do you definitely need 3.12? I have managed to install 3.11 ok, because it still contains the deprecated imp module.
Which version of KNIME are you using?
I think that manually installing python up to 3.11 is possible, although there may be some workaround I am unaware of for python 3.12.
Depending on your version of KNIME, I think you would probably also want to install the KNIME Python Integration extension (if available)
i.e.
If you are able to downgrade to Python 3.11 or earlier, take a look at the following post and see if it helps, as this describes the steps I used to manually configure Python and install the required modules as detailed in the Python extensions guide.
At the time of writing that post, I think I was using Python 3.9 with KNIME 5.2.3.
I just tried it with Python 3.11 on a KNIME 5.3.3 installation (where I also have the python integration extension installed) and it works.