pyactr icon indicating copy to clipboard operation
pyactr copied to clipboard

UserWarning: Simulation GUI requested but no environment was set.

Open mixmind-cloud opened this issue 11 months ago • 1 comments

Hi, I was testing the code in a Conda environment, and I have tkinter installed. However, I keep getting warnings like: UserWarning: Simulation GUI requested but no environment was set. UserWarning: Simulation GUI is set to False. Could you please let me know why the GUI is being set to False despite having tkinter available? Is there a specific configuration or dependency that I might be missing? 微信图片_20250108150824

Thanks!

mixmind-cloud avatar Jan 08 '25 07:01 mixmind-cloud

For unittests you can ignore the warnings, unittests set GUI to False no matter what configuration you have (because it makes no sense to have GUI for automatized tests). What about tutorials like u2_demo.py? There GUI should work if you have tk - does it?

jakdot avatar Jan 08 '25 12:01 jakdot