Background:
Cloud Service: Amazon AWS
Instance Type: t2.micro
Instance OS: Ubuntu 20.04
Using EC2, i spinned a fresh Ubuntu 20.04 LTS instance. After creating a non-root user with sudo rights, and installing the minimals
(sudo apt install python3-minimal build-essential python3-setuptools)
i decided for the easy install script approach.
Upon entering sudo /usr/bin/python3 install.py --production --user myfrappe, i am getting following error message.
Traceback (most recent call last):
File āinstall.pyā, line 433, in
check_distribution_compatibility()
File āinstall.pyā, line 78, in check_distribution_compatibility
dist_name, dist_version = get_distribution_info()
File āinstall.pyā, line 100, in get_distribution_info
current_dist = platform.dist()
AttributeError: module āplatformā has no attribute ādistā
Upon checking the install.py script, seems we need to make an entry for Ubuntu 20.
Currently the value is āubuntuā: [14, 15, 16, 18, 19]
Issue: I thought of editing install.py by myself. So i gave sudo
chmod 777 install.py.
Upon opening the file, i am getting a message āDirectory is non-writableā. Still i managed to save, and now the def check_distribution_compatibility() block is having the following entry:
āubuntuā: [14, 15, 16, 18, 19, 20]
Upon entering sudo /usr/bin/python3 install.py --production --user myfrappe, i am getting same error message.
Traceback (most recent call last):
File āinstall.pyā, line 433, in
check_distribution_compatibility()
File āinstall.pyā, line 78, in check_distribution_compatibility
dist_name, dist_version = get_distribution_info()
File āinstall.pyā, line 100, in get_distribution_info
current_dist = platform.dist()
AttributeError: module āplatformā has no attribute ādistā
Should i raise a Feature Request for this to be updated in easy install script since Ubuntu 20.04 LTS is released recently?
Note: I have installed V12 through manual mode in Ubuntu 18.04. So i believe i can make it work in 20.04 also. Still thought of taking easy install script way. Can this be resolved locally?
Thanks for your time.
Bala