File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -146,11 +146,6 @@ if [[ $(uname -s) == "Darwin" ]]; then
146146 python_executable=$( which python3.10)
147147 fi
148148
149- # pip does not have pyqt5 for arm
150- if [[ $( uname -m) == ' arm64' ]]; then
151- echo " Installing pyqt5 with homebrew."
152- brew install pyqt@5
153- fi
154149
155150 # create python virtual environment
156151 echo " Creating python virtual environment in $VENV_DIR "
@@ -161,18 +156,7 @@ if [[ $(uname -s) == "Darwin" ]]; then
161156 python -m pip install --upgrade pip
162157
163158 # install launcher dependencies
164- # only on mac silicon point PYTHONPATH to pyqt5 installation via homebrew, otherwise install pyqt5 with pip
165- if [[ $( uname -m) == ' arm64' ]]; then
166- if [[ " :$PYTHONPATH :" == * " :/opt/homebrew/lib/python3.10/site-packages:" * ]]; then
167- echo " /opt/homebrew/lib/python$nr_1 .$nr_2 /site-packages already in PYTHONPATH"
168- else
169- export " PYTHONPATH=/opt/homebrew/lib/python$nr_1 .$nr_2 /site-packages:" $PYTHONPATH
170- echo " /opt/homebrew/lib/pythonv$nr_1 .$nr_2 /site-packages added to PYTHONPATH"
171- fi
172- else
173- pip install pyqt5
174- fi
175-
159+ pip install pyqt5
176160 pip install packaging
177161
178162elif [[ $( uname -s) == " Linux" ]]; then
You can’t perform that action at this time.
0 commit comments