OGS Windows install > Python Environment Variables?

Given up on MacOS install. Trying Windows.

When I type: ogs followed .prj file name - I get

PythonPath Configuration
PYTHONHOME = (not set)
PYTHONPATH = (not set)

followed by a few lines of info but no error message followed by exit to Command line.

Guess these variables need to be set ?

Other possibility ? I am running python 3.10 - do I need to be at the same version that the OGS is bound to ? Had installed OGS using pip.

Thanks (sorry Python/Windows numpty)

this is the full output I get from attempting to run OGS6 with a .prj file

C:\Users\Curtis\ogs>ogs 3D_deep_BHE.prj
info: This is OpenGeoSys-6 version 6.4.4.
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = ‘python’
isolated = 0
environment = 1
user site = 0
import site = 1
sys._base_executable = ‘C:\Users\Curtis\ogs\ogs-6.4.4-Windows-10.0.22621-python-3.10.9-utils\bin\ogs.exe’
sys.base_prefix = ‘’
sys.base_exec_prefix = ‘’
sys.platlibdir = ‘lib’
sys.executable = ‘C:\Users\Curtis\ogs\ogs-6.4.4-Windows-10.0.22621-python-3.10.9-utils\bin\ogs.exe’
sys.prefix = ‘’
sys.exec_prefix = ‘’
sys.path = [
‘C:\Users\Curtis\ogs\ogs-6.4.4-Windows-10.0.22621-python-3.10.9-utils\bin\python310.zip’,
‘.\DLLs’,
‘.\lib’,
‘C:\Users\Curtis\ogs\ogs-6.4.4-Windows-10.0.22621-python-3.10.9-utils\bin’,
]

C:\Users\Curtis\ogs>

If you install via pip it should work.


If you download the zip-file, e.g. this: https://ogsstorage.blob.core.windows.net/binaries/ogs6/6.4.4/ogs-6.4.4-Windows-10.0.22621-python-3.10.9-utils.zip

Then you need to install the same Python version (3.10.9). Installer: https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe

Finally got back to it. Installed python 3.10.9 and things started working. (on a Windows PC)

Thanks for the help.