anfis icon indicating copy to clipboard operation
anfis copied to clipboard

python 3 compatability

Open KinsellaJohn opened this issue 5 years ago • 2 comments

Hi, just an fyi that the membership folder is coming out as nested in the anfis/anfis folder and so in order to get to run the membership folder needs to placed in the parent dir and imported separately to both the test and anfis.py files. It wont run otherwise.

KinsellaJohn avatar Oct 14 '19 14:10 KinsellaJohn

i need help in that. i just copied the membershipfunction.py and mfDerivs.py from the member-folder to the anfis-folder, removed in the anfis-init everything expect import anfis, and in the anfis.py i wrote import membershipfunction and import mfDerivs. Now i can import anfis correctly, but i cannot use the membershipfunction as MemFuncs or as membershipfunction() or as anfis.member...() or as anfis.MemFuns(). How can i do that?

elihek avatar May 08 '20 12:05 elihek

I solved my problem just by building a new Python 2-environment, so everything goes good now. Thanks a lot!

elihek avatar May 09 '20 09:05 elihek