Skip to content

Commit

Permalink
Now script will run from the folder where it is located. (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcapodi78 authored Feb 9, 2022
1 parent 64dde92 commit aabbba3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/source/Resources/pyaedt_with_IDE.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ if "%ANSYSEM_ROOT221%" =="" (

set /p run=Python or Jupyter?(0=Spyder, 1=Jupyter, 2=Console)
setlocal enableDelayedExpansion
cd "%APPDATA%"

if not exist "%APPDATA%\pyaedt_env_ide\" (
echo Installing Pyaedt
cd "%APPDATA%"
"%aedt_path%\commonfiles\CPython\3_7\winx64\Release\python\python.exe" -m venv "%APPDATA%\pyaedt_env_ide"
"%APPDATA%\pyaedt_env_ide\Scripts\python.exe" -m pip install --upgrade pip
"%APPDATA%\pyaedt_env_ide\Scripts\pip" install pyaedt
Expand Down

0 comments on commit aabbba3

Please sign in to comment.