swarmlib icon indicating copy to clipboard operation
swarmlib copied to clipboard

Strange Error which might be caused by matplotlib

Open yesunhuang opened this issue 4 years ago • 3 comments

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


yesunhuang avatar Mar 16 '22 04:03 yesunhuang

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.

HaaLeo avatar Mar 19 '22 17:03 HaaLeo

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.

yesunhuang avatar Mar 29 '22 09:03 yesunhuang

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.

DyariMoSharif avatar Jun 13 '22 21:06 DyariMoSharif