Nov-13-2020, 06:43 PM
(This post was last modified: Nov-13-2020, 08:42 PM by Larz60+.
Edit Reason: Fixed code tags
)
Hello. I am facing the following error messages:
when executing
The file "optimizer" it is in the current directory, and there is a folder called "optimizers" where the file "MFO.py" lives. So what I am doing wrong?
Error:Traceback (most recent call last):
File "optimizer.py", line 8, in <module>
import optimizers.PSO as pso
ImportError: No module named optimizers.PSO
when executing
python optimizer.py
The file "optimizer" it is in the current directory, and there is a folder called "optimizers" where the file "MFO.py" lives. So what I am doing wrong?