Strange Error which might be caused by matplotlib
| Python Version | swarmlib Version | OS |
|---|---|---|
| 3.8.12 | 0.14.1 | win 11 |
Description
I used the demo code from the cuckoo problem while resulting in a failure of "TypeError: can't multiply sequence by non-int of type 'complex'" I have attached the pdf of the notebook file to the report, please help. Test.pdf
Expected Behavior
Actual Behavior
Steps to Reproduce
Context
Hi @yesunhuang thx for opening an issue. Unfortunately I cannot reproduce your error since I do not have a windows PC. Maybe you can try to run the code via the terminal instead of a jupyter notebook.
I'll keep this issue open for now in case you or anybody else find out how to solve this issue.
Hi @yesunhuang thx for opening an issue. Unfortunately I cannot reproduce your error since I do not have a windows PC. Maybe you can try to run the code via the terminal instead of a jupyter notebook.
I'll keep this issue open for now in case you or anybody else find out how to solve this issue.
thanks for your comment. I still cannot solve this problem. So I decide to implement the algorithm myself.
Hi @yesunhuang thx for opening an issue. Unfortunately I cannot reproduce your error since I do not have a windows PC. Maybe you can try to run the code via the terminal instead of a jupyter notebook. I'll keep this issue open for now in case you or anybody else find out how to solve this issue.
thanks for your comment. I still cannot solve this problem. So I decide to implement the algorithm myself.
Hello, there! I had the same issue but I guess it has something to do with Jupyter notebook since when I tested it on Visual Studio Code it worked well though it gave some other warning and errors.