Yes, this is once again an incompatibility issue.
What python demo file are you using? Where do you get it from?
For an anaconda install of PyChrono, as indicated on https://api.projectchrono.org/tutorial_table_of_content_pychrono.html, you should use the demos installed by the conda package (in the *local* site-packages/ directory).
--Radu
From: projec...@googlegroups.com <projec...@googlegroups.com>
On Behalf Of ttt feng
Sent: Saturday, 29 October 2022 08:36
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] PyChrono--Issiue about Visualisation application
Hi, Mr.Serban
I'm sorry to bother you.Here is a question to ask for your help.
When I run the python file you wrote, an error will appear as fllows.The 'ChWheeledVehicleIrrApp' function is error.
self.app = veh.ChWheeledVehicleIrrApp(self.my_hmmwv.GetVehicle(), 'HMMWV', irr.dimension2du(1000,800))
When I change to the following statement, it can run normally
self.app = veh.ChWheeledVehicleVisualSystemIrrlicht()
self.app.SetWindowTitle('HMMWV')
self.app.SetWindowSize(1000, 800)
I installed PyChrono 7.0. by Anaconda. And is this caused by different versions or anything else?
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/2df974c9-9319-41fa-a973-938640f28c5cn%40googlegroups.com.