馃攳 Before submitting the issue
馃悶 Description of the bug
create virtual environment does not work on machine where there is no global python is installed, and even if it is installed most probably it wont work with the Ansys Python which is in the installation directory.
I have dug little bit into the code and seems like following command does not work
start /w /min cmd /K "set PATH=C:\Program Files\ANSYS Inc\v242\commonfiles\CPython\3_10\winx64\Release\python && python -m venv C:\Users\mkanchan\.ansys_python_venvs\test_venv && exit
this command when run in the console (cmd.exe), does not work and shows that python is not a command or executable
PS : the successful creation should check if the venv is actually created by checking the executables and activate files
PS2: in this template remove the I am using a Python virtual environment, this is not a standard for this repo
馃摑 Steps to reproduce
- make sure you do not have global python installed on your machine
- fire up Ansys Python Manager
- select one of the ansys installation python
- create venv
- it says it sucessfully created but in reality the folder is empty
馃捇 Which operating system are you using?
Windows
馃搥 Which ANSYS version are you using?
242
馃悕 Which Python version are you using?
3.10
馃摝 Installed packages
馃攳 Before submitting the issue
馃悶 Description of the bug
create virtual environment does not work on machine where there is no global python is installed, and even if it is installed most probably it wont work with the
Ansys Pythonwhich is in the installation directory.I have dug little bit into the code and seems like following command does not work
start /w /min cmd /K "set PATH=C:\Program Files\ANSYS Inc\v242\commonfiles\CPython\3_10\winx64\Release\python && python -m venv C:\Users\mkanchan\.ansys_python_venvs\test_venv && exitthis command when run in the console (cmd.exe), does not work and shows that
pythonis not a command or executablePS : the successful creation should check if the venv is actually created by checking the executables and
activatefilesPS2: in this template remove the
I am using a Python virtual environment, this is not a standard for this repo馃摑 Steps to reproduce
馃捇 Which operating system are you using?
Windows
馃搥 Which ANSYS version are you using?
242
馃悕 Which Python version are you using?
3.10
馃摝 Installed packages