Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9Dxfdz/mysql-python/

INFO:bench.app:installing frappe
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-9Dxfdz/mysql-python/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/mnt/5859ed27-bad9-4457-825c-e9649d33c890/python/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/mnt/5859ed27-bad9-4457-825c-e9649d33c890/python/bench-repo/bench/commands/make.py”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/mnt/5859ed27-bad9-4457-825c-e9649d33c890/python/bench-repo/bench/utils.py”, line 56, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/mnt/5859ed27-bad9-4457-825c-e9649d33c890/python/bench-repo/bench/app.py”, line 73, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/mnt/5859ed27-bad9-4457-825c-e9649d33c890/python/bench-repo/bench/app.py”, line 103, in install_app
find_links=find_links))
File “/mnt/5859ed27-bad9-4457-825c-e9649d33c890/python/bench-repo/bench/utils.py”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe

Try running ./env/bin/pip install mysql-python

@rmehta
I was not able to install the an app in newly installed erpnext which show the latest versions of frappe and erpnext.
image

Then I use the the command below

./env/bin/pip  install my-app

and it installed successfully then on migration command it migrates the erpnext and frappe but not my-app

Now after restoring the database when i try to migrate, update .etc it gives a strange error.

Could not found app "None"

Here are are screen shotes of my console: