Platypus icon indicating copy to clipboard operation
Platypus copied to clipboard

Unable to run basic example on Mac OS x

Open apfz opened this issue 6 years ago • 1 comments

I have installed platypus according to the instructions. However I am not able to run example files:

Traceback (most recent call last):
  File "/Users/f/app/Resources/solver/platypus.py", line 1, in <module>
    from platypus import NSGAII, Problem, Real
  File "/Users/f/app/Resources/solver/Resources/solver/platypus.py", line 1, in <module>
    from platypus import NSGAII, Problem, Real
ImportError: cannot import name 'NSGAII'

Any idea why the installation may not be complete?

apfz avatar Jun 29 '18 11:06 apfz

Hi, it's likely there is a different Python module installed with the same name. If you are not using the other module, I would recommend uninstalling it first then installing Platypus again using the instructions in the readme file. Thanks!

dhadka avatar Jul 09 '18 17:07 dhadka

This issue is stale and will be closed soon. If you feel this issue is still relevant, please comment to keep it active. Please also consider working on a fix and submitting a PR.

github-actions[bot] avatar Nov 13 '22 03:11 github-actions[bot]