Link Python to Python3.

This commit is contained in:
Roman Telezhynskyi 2023-09-14 13:12:46 +03:00
parent 9a644bacc7
commit 784c3ff3e7
2 changed files with 3 additions and 0 deletions

View File

@ -230,6 +230,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- echo $PATH - echo $PATH
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH" - export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH - echo $PATH
- ln -s -f /usr/local/bin/python3 /usr/local/bin/python
- chmod -R 755 /opt/homebrew/opt/qt6/* - chmod -R 755 /opt/homebrew/opt/qt6/*
- chmod -R 755 /opt/homebrew/opt/openssl@1.1/* - chmod -R 755 /opt/homebrew/opt/openssl@1.1/*
- python3 --version - python3 --version

View File

@ -652,6 +652,7 @@ for:
- export PATH="$QTDIR/bin:$HOME/.local/bin:`python3 -m site --user-base`/bin:${HOME}/Qt/Qt Creator.app/Contents/MacOS:$PATH" - export PATH="$QTDIR/bin:$HOME/.local/bin:`python3 -m site --user-base`/bin:${HOME}/Qt/Qt Creator.app/Contents/MacOS:$PATH"
- echo $PATH - echo $PATH
- python3 --version - python3 --version
- ln -s -f /usr/local/bin/python3 /usr/local/bin/python
- |- - |-
############################################################### ###############################################################
@ -820,6 +821,7 @@ for:
- export PATH="$QTDIR/bin:$HOME/.local/bin:`python3 -m site --user-base`/bin:${HOME}/Qt/Qt Creator.app/Contents/MacOS:$PATH" - export PATH="$QTDIR/bin:$HOME/.local/bin:`python3 -m site --user-base`/bin:${HOME}/Qt/Qt Creator.app/Contents/MacOS:$PATH"
- echo $PATH - echo $PATH
- python3 --version - python3 --version
- ln -s -f /usr/local/bin/python3 /usr/local/bin/python
- sudo python3 -m pip install --upgrade pip - sudo python3 -m pip install --upgrade pip
- pip3 install --user --upgrade pip dropbox conan==1.60 - pip3 install --user --upgrade pip dropbox conan==1.60
- conan --version - conan --version