I’ve successfully set up ERPNext (several times) on CentOS 7. However, I am wanting to have my mac as local dev machine. I formatted the drive on my mac, installed macOS Sierra. But having issues with the pip command.
I am following the instructions at:
Turning a Mac into a Frappe Framework Developer Machine
Everything is going smooth, except when I get to:
pip install virtualenvwrapper
I receive:
zsh: command not found: pip
I issued: “which python” command, I get:
/usr/bin/python
Then: “echo $PATH”, I get:
/usr/local/opt/mariadb@10.1/bin:/Users/starke/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Which to me looks odd. If I issue:
find . -name "pip"
I get:
./local/Cellar/python/2.7.13_1/bin/pip
./local/Cellar/python/2.7.13_1/libexec/bin/pip
./local/Cellar/python/2.7.13_1/libexec/pip
./local/Cellar/python/2.7.13_1/libexec/pip/build/lib/pip
./local/Cellar/python/2.7.13_1/libexec/pip/pip
./local/lib/python2.7/site-packages/pip
So I’m thoroughly confused on which python & pip I’m supposed to use/have. What my path should be in “.zshrc”.
Also, when the article shows to install mariaDB, the next step just has:
export PATH="/usr/local/opt/mariadb@10.1/bin:$PATH
But doesn’t say where to put it. I assume in “.zshrc”, is this correct?
Thanks in advance!