How to replace with python3.8 python3.6 system, realize the install the development version

How to use the replacement system python3?

I changed my python3 installed python3.8 replacement and pip3, but the installation error

linux ubuntu 18.04

安装pip3 install frappe-bench时报错了

ERROR: Command errored out with exit status 1:
command: /usr/local/python3.8/bin/python3.8 -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-eay6rvlm/python-crontab_ca55e91d12944915933e7e7a646671c3/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-eay6rvlm/python-crontab_ca55e91d12944915933e7e7a646671c3/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ egg_info --egg-base /tmp/pip-pip-egg-info-zl5p7kwf
cwd: /tmp/pip-install-eay6rvlm/python-crontab_ca55e91d12944915933e7e7a646671c3/
Complete output (11 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/python3.8/lib/python3.8/site-packages/setuptools/init.py”, line 18, in
from setuptools.dist import Distribution
File “/usr/local/python3.8/lib/python3.8/site-packages/setuptools/dist.py”, line 34, in
from setuptools import windows_support
File “/usr/local/python3.8/lib/python3.8/site-packages/setuptools/windows_support.py”, line 2, in
import ctypes
File “/usr/local/python3.8/lib/python3.8/ctypes/init.py”, line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named ‘_ctypes’
----------------------------------------

ERROR: Cannot install frappe-bench==5.0.0, frappe-bench==5.1.0, frappe-bench==5.2.0, frappe-bench==5.2.1, frappe-bench==5.3.0, frappe-bench==5.4.0, frappe-bench==5.4.1, frappe-bench==5.5.0, frappe-bench==5.6.0, frappe-bench==5.7.0, frappe-bench==5.7.2, frappe-bench==5.7.3, frappe-bench==5.7.4, frappe-bench==5.7.5 and frappe-bench==5.7.6 because these package versions have conflicting dependencies.

What is going on this

What is going on this

Can you post the details how you install the frappe-bench step by step until you face the problem (error)