Skip to content

Commit

Permalink
remove python3.10 as it works on mac not on window
Browse files Browse the repository at this point in the history
  • Loading branch information
Krish Patel committed Jun 23, 2023
1 parent 47019d6 commit 52b0f58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install/install_openadapt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $tesseractInstaller = "tesseract-ocr-w64-setup-5.3.1.20230401.exe"
$tesseractInstallerLoc = "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.3.1.20230401.exe"
$tesseractPath = "C:\Program Files\Tesseract-OCR"

$pythonCmd = "python3.10"
$pythonCmd = "python"
$pythonVerStr = "Python 3.10*"
$pythonInstaller = "python-3.10.11-amd64.exe"
$pythonInstallerLoc = "https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe"
Expand Down Expand Up @@ -73,7 +73,6 @@ function CheckCMDExists {
# Get command for python, install python if required version is unavailable
function GetPythonCMD {
# Use python exe if it exists and is the required version
$pythonCmd = "python"
if (CheckCMDExists($pythonCmd)) {
$res = Invoke-Expression "python -V"
if ($res -like $pythonVerStr) {
Expand Down

0 comments on commit 52b0f58

Please sign in to comment.