Latest version is from 03.05.2024
How to install ayab desktop for eKnitter on a macOS
Open the terminal on your mac:
You will need brew as package manager, git to acccess github, anaconda for Python 3.5 in an virtual environment
install brew (not needed if git already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
install git via brew (not needed if git already installed) :
brew install git
brew install esptool
install Xcode command line tools:
xcode-select --install
get ayab-desktop for eKnitter from github:
git clone -b eKnitter https://github.com/yekomS/ayab-desktop ayab-desktop-eknitter
change to ayab-desktop-eknitter directory:
cd ayab-desktop-eknitter
make directory for anaconda (python virtual environment):
mkdir -p ~/miniconda3
you can check your mac processor architecture (neede for next command):
arch
if you use mac with arm processor: get anaconda for arm64 processor:
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
if you use mac with intel processor: get anaconda for x86_64 processor:
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda3/miniconda.sh
install anaconda (python virtual environment):
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
remove anaconda install script:
rm -rf ~/miniconda3/miniconda.sh
init anaconda:
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
restart you terminal window and change to ayab-desktop-eknitter directory:
cd ayab-desktop-eknitter
create python 3.5 virtual environment:
conda create --name venv -c conda-forge python=3.5 pip
activate python environment:
conda activate venv
update your python environment with required tools:
python -m pip install --upgrade pip
pip install --upgrade setuptools
pip install -r requirements.txt
To solve pip3 SSL:TLSV1_ALERT_PROTOCOL_VERSION problem (dont know if neccessary):
curl https://bootstrap.pypa.io/get-pip.py | python
load patterns from github:
git clone https://github.com/AllYarnsAreBeautiful/ayab-patterns ./src/main/resources/base/patterns
start ayab-desktop for eKnitter:
python -m fbs run
Install done 🙂
once all tools are installed, you can start ayab-desktop for eKnitter:
cd ayab-desktop-eknitter
conda activate venv
python -m fbs run
you can update the latest changes
git pull origin eKnitter