From 16e1da48cb673b1b3b96769f16ed449568fb04f0 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Sun, 30 Jul 2023 11:52:53 +0200 Subject: [PATCH] Doc: Update Windows installation instructions (#2153) See #2151 --- documentation/python_installation.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/python_installation.rst b/documentation/python_installation.rst index 5332520139..d075ac35c1 100644 --- a/documentation/python_installation.rst +++ b/documentation/python_installation.rst @@ -150,15 +150,15 @@ You will also need to define two environment variables: .. code-block:: text - BLAS_LIBS="/LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib" - BLAS_CFLAGS="/IC:/BLAS/OpenBLAS" + BLAS_LIBS="-LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib" + BLAS_CFLAGS="-IC:/BLAS/OpenBLAS" One way to do that is to run a PowerShell script with the following commands: .. code-block:: text - [System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "/LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::User) - [System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "/LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::Process) + [System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "-LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::User) + [System.Environment]::SetEnvironmentVariable("BLAS_LIBS", "-LIBPATH:C:/BLAS/OpenBLAS/lib openblas.lib", [System.EnvironmentVariableTarget]::Process) [System.Environment]::SetEnvironmentVariable("BLAS_CFLAGS", "-IC:/BLAS/OpenBLAS/include/openblas", [System.EnvironmentVariableTarget]::User) [System.Environment]::SetEnvironmentVariable("BLAS_CFLAGS", "-IC:/BLAS/OpenBLAS/include/openblas", [System.EnvironmentVariableTarget]::Process)