Try ERPNext Buy Support Partners Foundation

Older version installation problem

I like to install older version of erpnext and frappe.
I am using mariadb 10.1.20 and mac osx
While I run bench migrate-env python2.7 it showing following error:

ollecting mysql-python==1.2.5
Using cached https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip
ERROR: Command errored out with exit status 1:
command: /Users/eskimi/Development/ErpNext/frappe-bench/env/bin/python2.7 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-DSPFBy/mysql-python/setup.py’"’"’; file=’"’"’/private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-DSPFBy/mysql-python/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base /private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-DSPFBy/mysql-python/pip-egg-info
cwd: /private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-DSPFBy/mysql-python/
Complete output (10 lines):
sh: mysql_config: command not found
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/1r/0z4_dp3j0237vqx1jvc0sn3c0000gp/T/pip-install-DSPFBy/mysql-python/setup.py”, line 17, in
metadata, options = get_config()
File “setup_posix.py”, line 43, in get_config
libs = mysql_config(“libs_r”)
File “setup_posix.py”, line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
DEBUG:bench.commands:Migration Error
Traceback (most recent call last):
File “/Users/eskimi/Development/ErpNext/venv/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/Users/eskimi/Development/ErpNext/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/Users/eskimi/Development/ErpNext/venv/lib/python2.7/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/Users/eskimi/Development/ErpNext/venv/lib/python2.7/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/Users/eskimi/Development/ErpNext/venv/lib/python2.7/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/Users/eskimi/Development/ErpNext/venv/lib/python2.7/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/Users/eskimi/Development/ErpNext/venv/lib/python2.7/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/Users/eskimi/Development/ErpNext/bench-repo/bench/commands/init.py”, line 173, in migrate_env
pip = pip, app = papp