You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please check our installation guide. Looks like you might be in a different environment or are using an old pymoo version. https://pymoo.org/installation.html
Ubuntu 22.04, Python 3.10
When I import pymoo, ModuleNotFoundError occurs. How to fix this error
ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import pymoo
File ~/Documents/Python_test/pymoo.py:2
1 import pymoo
----> 2 from pymoo.algorithms.moo.nsga2 import NSGA2
3 from pymoo.problems import get_problem
4 from pymoo.optimize import minimize
ModuleNotFoundError: No module named 'pymoo.algorithms'; 'pymoo' is not a package
The text was updated successfully, but these errors were encountered: