I've installed all dependencies and followed the installation manual, but when I run a code, I get this error every time:
Traceback (most recent call last):
File "tpot.py", line 1, in
from tpot import TPOTClassifier
File "C:Users\Kuba\tpot.py", line 1, in
from tpot import TPOTClassifier
ImportError: cannot import name 'TPOTClassifier'
The code I have is:
from tpot import TPOTClassifier
pipeline_optimizer = TPOTClassifier()
I'm not sure what I'm doing wrong. I checked path variables, all installed libraries, but nothing seems to work. All other libraries work just fine. Using Anaconda 3.6. Thanks for help!
Please change the file name rather than tpot.py. Check the closed issue #372 for more details.
Thank you!!! It was all because of the wrong naming.
UnsatisfiableError: The following specifications were found to be in conflict:
I get the above error while trying to install tpot using Anaconda
Most helpful comment
Please change the file name rather than tpot.py. Check the closed issue #372 for more details.