DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.75k stars 1.12k forks source link

python 3.5.5 fails to import base,genetic algorithm,create,and tools #315

Open JORDEN123444 opened 5 years ago

JORDEN123444 commented 5 years ago

Traceback (most recent call last): File "C:/Users/IJAZ AHMAD/Downloads/deap-master/examples/ga/onemax_multidemic.py", line 2, in from deap import creator, base, tools, algorithms File "C:\Users\IJAZ AHMAD\Downloads\deap-master\deap\base.py", line 189 (self.class, values, type(values), ^ IndentationError: unexpected indent

fmder commented 5 years ago

DEAP is tested with countinuous integration, a bug like that would have triggered a major flag. I see that the last commit built successfully.

Have you installed the software or just downloaded the sources?

Le lun. 26 nov. 2018 02 h 58, JORDEN123444 notifications@github.com a écrit :

Traceback (most recent call last): File "C:/Users/IJAZ AHMAD/Downloads/deap-master/examples/ga/onemax_multidemic.py", line 2, in from deap import creator, base, tools, algorithms File "C:\Users\IJAZ AHMAD\Downloads\deap-master\deap\base.py", line 189 (self.class, values, type(values), ^ IndentationError: unexpected indent

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DEAP/deap/issues/315, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6rwrtWUiqDfKL6L0eiGw0b8m0z6MHtks5uy58ngaJpZM4YyfoM .

JORDEN123444 commented 5 years ago

i downloaded the source and then install deap ,from commands using pip ,but same problms.Deap don,t import creater ,base,and tools,etc

JORDEN123444 commented 5 years ago

capture1

fmder commented 5 years ago

Are you still in the source directory?

Le lun. 26 nov. 2018 21 h 48, JORDEN123444 notifications@github.com a écrit :

i downloaded the source and then install deap ,from commands using pip ,but same problms.Deap don,t import creater ,base,and tools,etc

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DEAP/deap/issues/315#issuecomment-441878336, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6rwjsWP0Yj4mJ2Y57Byg-DiWufgQUhks5uzKfrgaJpZM4YyfoM .

meghkc commented 2 years ago

Please help me importing base from deap1.3.1 on python3.10