Hi, I am new to using the python API. I am trying to run the files from the intro to python API 2 workshop downloaded directly from the asdea website (ex: 04_drift_opensees_sp from https://asdeasoft.net/?webinar). I input the Results.DB file. However, all the python scripts, for example 'post_processor_drift_script', that I am trying to run get the following error; "name 'os' not defined" even though it is imported in the first line of the code. Do you have any insights on this error?
Thanks in advance for your help and best regards,
Caroline
Error running scripts
-
CarolineB7
- Posts: 1
- Joined: Mon Feb 28, 2022 6:40 pm
Error running scripts
Last edited by CarolineB7 on Mon Mar 07, 2022 11:43 pm, edited 3 times in total.
Re: Error running scripts
That's strange.
Could please a screenshot of the whole error window? with all the stack trace?
Make sure you followed all the steps:
Could please a screenshot of the whole error window? with all the stack trace?
Make sure you followed all the steps: