Installing PyChrono and Chrono on the same PC

92 views
Skip to first unread message

luis.u....@gmail.com

unread,
Sep 24, 2023, 1:53:48 PM9/24/23
to ProjectChrono

Dear developers and (Py)Chrono users,

I apologize in advance if this question has already been answered in the forum: should I anticipate any conflicts if I install Chrono (e.g., via Docker) on the same notebook  where I am currently running an older version of PyChrono successfully? I think I also have to mention that I installed PyChrono via conda and I’m using Windows 11.

Thanks a lot for your kind attention,

 

Regards,

Luis

Radu Serban

unread,
Sep 24, 2023, 3:30:22 PM9/24/23
to ProjectChrono

Hi Luis,

 

If you install a docker image of Chrono (although I’m not sure how recent the latest available one is), there shouldn’t be any issues.

If you decide to build Chrono from sources and do not enable and build the Chrono::Python module, I again don’t foresee any issues. If you want to also build the Chrono::Python module, you may need to be careful about Python versions and environment variables. It may be best to use the Python installation from under conda.  Personally, I test conda packages on a different machine than the one where I develop Chrono to stay away from potential conflicts. Maybe someone else has experience with such a setup?

 

Best,
Radu

--
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/419a9041-34bd-44e9-8ae6-c1354e2f147cn%40googlegroups.com.

Dario Mangoni

unread,
Sep 24, 2023, 4:16:00 PM9/24/23
to ProjectChrono
Hi Luis and Radu,
just last week my colleague (the other Dario) tried to install PyChrono through Anaconda while he already had Chrono::python built from source. He reported some corruption of the latter, so I think he just uninstalled Anaconda right away.
So please mind that there could be problems in mixing PyChrono+Anaconda with Chrono::python.

Dario M.

Radu Serban

unread,
Sep 24, 2023, 4:31:37 PM9/24/23
to ProjectChrono

Hi Dario,

 

Right, but since Dario F. already had Chrono with Chrono::Python built this means he already had a native Python installation after which he installed Anaconda. In Luis’s case it’s the other way around, so maybe simply using the Anaconda Python while configuring Chrono will prevent conflicts.

 

Luis, as you can tell, this is not clear-cut. Please keep us posted on what you end up doing and what you find. This may be of interest to other users.

 

Best,
Radu

luis medina

unread,
Sep 24, 2023, 4:32:28 PM9/24/23
to Radu Serban, ProjectChrono
Hi Radu,
Thanks a lot for your prompt and detailed answer. 
Regards,
Luis 

You received this message because you are subscribed to a topic in the Google Groups "ProjectChrono" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/projectchrono/pmubB5zFZuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to projectchron...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB823745E95122BFA81744861FA7FDA%40PH0PR06MB8237.namprd06.prod.outlook.com.
Reply all
Reply to author
Forward
0 new messages