Error in importing ipaddress module for python scripting

Hello every one,

I want to use  ipaddress module for python scripting,but when I import  ipaddress module and run it, got this error:

-----------

Traceback (most recent call last):
  File "/Applications/KNIME 3.4.0.app/Contents/Eclipse/plugins/org.knime.python_3.4.1.v201709070953/py/PythonKernel.py", line 286, in execute
    exec(source_code, _exec_env, _exec_env)
  File "<string>", line 5, in <module>
ImportError: No module named ipaddress

-----------

it is interesting that in python_IDLE , I can import ipaddress.I use python 3.6.3  

Thanks for your reply

Are you sure that KNIME is configured to use the same Python 3 executable that you are using in IDLE? Especially if you use any kind of Python environment manager (e.g. Anaconda etc).

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