Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2020-08-13 12:00:12

janna
Member
Registered: 2020-08-13
Posts: 3

how to launch salome (win x64) in python?

I am very new to Aster but used other FEA extensively.

unzipped sm-2019-w64-0.3 doesn't work properly, so I tried launch it from python.

I used : os.system('/sm-2019-w64-0.3/run_salome.bat), I got two errors:

the system cannot find the path specifized
'"env_launch.bat"' is not recognized as an internal or external command

What does this mean?

And my goal is actually to generate a salome shell and then maybe run Aster solver directly - since I cannot find this solver.exe or .bat in sm-2019-w64-0.3

Offline

#2 2020-09-05 17:24:16

Pedro_Moresco
Member
From: Porto Alegre, Brazil
Registered: 2018-08-07
Posts: 5

Re: how to launch salome (win x64) in python?

Hi, I know this is a little silly, but are you using Power Shell? Because I cannot run my .bat scripts in power shell.
Try run your launch script as an administrator and post here the error you get by doing so.
By my experience, the windows port work just fine and effortlessly.

Offline