tdomhan / pyautoweka

AutoWeka for python
10 stars 19 forks source link

Need support for Python 3 #4

Open forest-jiang opened 4 years ago

forest-jiang commented 4 years ago

I have tested using 2to3 tool. Seems work.

melissadale commented 3 years ago

This does not work in Python 3 (Python 3.7.8). I had received ImportError: cannot import name 'DataSet' from 'pyautoweka' I made an environment set to Python 2.7, installed numpy, and then pyautoweka using pip install pyautoweka, and now it appears to work.

mdziezyc commented 3 years ago

Do I understand correctly - PyAutoWeka does not work on python 3 (specificity I have Anaconda 3.8.5)? I'm troubleshooting ImportError: cannot import name 'DataSet' from partially initialized module 'pyautoweka' (most likely due to a circular import) for half hour right now.

melissadale commented 3 years ago

It did not work for me until I made an environment with python 2.7. I was getting an import error about 'DataSet', but I do not recall if it was this exact error or not. Anaconda 3.8.5 is fine, but you might try using it to make an environment with a Python2.7 interpreter, something like conda create --name wekaEnv python=2.7

mdziezyc commented 3 years ago

Thx! I just switched to autoskleran ^^'