Setting up Production server error

Hello Team

I tried setting a production server so i will be able to use multitenant but i am faced with this error when when trying to add app

ubuntu@ip-172-31-54-98:~/frappe-bench$ bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) app erpnext
Cloning into ‘erpnext’…
remote: Counting objects: 198786, done.
remote: Compressing objects: 100% (199/199), done.
remote: Total 198786 (delta 105), reused 0 (delta 0), pack-reused 198587
Receiving objects: 100% (198786/198786), 279.00 MiB | 14.82 MiB/s, done.
Resolving deltas: 100% (149410/149410), done.
Checking connectivity… done.
Checking out files: 100% (4450/4450), done.
installing erpnext erpnext
/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see
/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see Advanced Usage - urllib3 2.0.0a2 documentation.
Command “python egg_info” failed with error code 1 in /tmp/pip-build-c6bK6Y/frappe/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/ubuntu/bench-repo/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/ubuntu/bench-repo/bench/commands/”, line 30, in get_app
get_app(git_url, branch=branch)
File “/home/ubuntu/bench-repo/bench/”, line 73, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/home/ubuntu/bench-repo/bench/”, line 103, in install_app
File “/home/ubuntu/bench-repo/bench/”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -e ./apps/erpnext

Searching the forum by Command "python egg_info" failed with error code 1 in /tmp/pip-build gives following results:

With possible solutions as:

1.[quote=“rmehta, post:2, topic:17858, full:true”]
Try running ./env/bin/pip install mysql-python