mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Changed to python3.8 installing first, removed test_and_fix_python_on_mac
This commit is contained in:
parent
65ce7c9838
commit
07e3f82400
17
setup.sh
17
setup.sh
|
@ -17,7 +17,8 @@ function check_installed_python() {
|
|||
exit 2
|
||||
fi
|
||||
|
||||
for v in {9..7}; do
|
||||
for v in 8 9 7
|
||||
do
|
||||
PYTHON="python3.${v}"
|
||||
which $PYTHON
|
||||
if [ $? -eq 0 ]; then
|
||||
|
@ -141,7 +142,6 @@ function install_macos() {
|
|||
install_mac_newer_python_dependencies
|
||||
fi
|
||||
install_talib
|
||||
test_and_fix_python_on_mac
|
||||
}
|
||||
|
||||
# Install bot Debian_ubuntu
|
||||
|
@ -198,19 +198,6 @@ function reset() {
|
|||
updateenv
|
||||
}
|
||||
|
||||
function test_and_fix_python_on_mac() {
|
||||
|
||||
if ! [ -x "$(command -v python3.6)" ]
|
||||
then
|
||||
echo "-------------------------"
|
||||
echo "Fixing Python"
|
||||
echo "-------------------------"
|
||||
echo "Python 3.6 is not linked in your system. Fixing it..."
|
||||
brew link --overwrite python
|
||||
echo
|
||||
fi
|
||||
}
|
||||
|
||||
function config() {
|
||||
|
||||
echo "-------------------------"
|
||||
|
|
Loading…
Reference in New Issue
Block a user