EpistasisLab / tpot

A Python Automated Machine Learning tool that optimizes machine learning pipelines using genetic programming.
http://epistasislab.github.io/tpot/
GNU Lesser General Public License v3.0
9.76k stars 1.57k forks source link

ModuleNotFoundError: No module named 'tpot' #1003

Open heydibyendu opened 4 years ago

heydibyendu commented 4 years ago

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 _openmphelpers: The specified module could not be found.

How to fix the error?

Thanks!

weixuanfu commented 4 years ago

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.

gosuto-inzasheru commented 4 years ago

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

vbora commented 1 year ago

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.

gappeah commented 7 months ago

According to StackOverflow tpot only works with python 3.7