tpot icon indicating copy to clipboard operation
tpot copied to clipboard

ModuleNotFoundError: No module named 'tpot'

Open heydibyendu opened this issue 5 years ago • 4 comments

Hi,

I have python 3.8 and installed tpot using pip. However, when I'm trying to import tpot on JupyterLab, I'm getting the following error:

image

I even tried to import tpot on command promt. There I got the following error:

_ImportError: DLL load failed while importing openmp_helpers: The specified module could not be found.

How to fix the error?

Thanks!

heydibyendu avatar Jan 15 '20 20:01 heydibyendu

Hmm, I am not sure about the reason about the ImportError, maybe you need update scikit-learn module. Also, It seems there are some environment issues in your python 3.8. Did you use conda to manage the environment? If so, please check if tpot was installed in the environment of jupyter or you may build a new conda environment for tpot.

weixuanfu avatar Jan 16 '20 01:01 weixuanfu

You might be running Python in a different environment when in JupyterLab. Try running: !pip install tpot from a cell in your notebook.

gosuto-inzasheru avatar Apr 14 '20 20:04 gosuto-inzasheru

I am hitting the same issue. I installed tpot using anaconda and then tied to do a pip install (including in the jupyter cell), but it did not fix the issue.

vbora avatar Apr 21 '23 05:04 vbora

According to StackOverflow tpot only works with python 3.7

gappeah avatar Apr 14 '24 16:04 gappeah