thanos / ecspy

A framework for creating evolutionary computations in Python.
GNU General Public License v3.0
6 stars 0 forks source link

ImportError: cannot import name variators #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install ecspy-0.7 using easy_setup
2. Copy & paste NSGA-II or PSO example from documentation into new .py file
3. Try to run example .py file

What is the expected output?
Unknown

What do you see instead?
Traceback (most recent call last):
  File "ecspy_examples_pso.py", line 5, in <module>
    from ecspy import swarm
  File "/usr/local/lib/python2.6/dist-packages/ecspy-0.7-py2.6.egg/ecspy/swarm.py", line 23, in <module>
  File "/usr/local/lib/python2.6/dist-packages/ecspy-0.7-py2.6.egg/ecspy/ec.py", line 25, in <module>
ImportError: cannot import name variators

What version of the product are you using? On what operating system?
ecspy-0.7 on Ubuntu 10.04

Please provide any additional information below.
Installing the previous release (ecspy-0.6) gives me the following error 
instead:
Traceback (most recent call last):
  File "ecspy_examples_pso.py", line 7, in <module>
    from ecspy import benchmarks
ImportError: cannot import name benchmarks

Original issue reported on code.google.com by tis...@gmail.com on 7 Sep 2010 at 10:20

GoogleCodeExporter commented 8 years ago
Thank you for reporting the issue. It was a small issue in the way we're 
creating the Python eggs. It has now been fixed. The corrected files are 
available here and at PyPI.

Original comment by aaron.lee.garrett on 8 Sep 2010 at 5:54