CentOS 8 ModuleNotFoundError: No module named 'distro'
- Dominant language
- Python
- Stars
- 8
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Issue: Easy Install
**Do the checklist before filing an issue:**
- [x ] Did you retain the logfile (path of logfile is shared while the script is run)? We definitely **need** the logfile to debug any easy install related issues.
- [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome
**Distro Information (Required)**
Ovh public cloud centos 8
1.
Linux c2-7-syd1 4.18.0-240.15.1.el8_3.x86_64 frappe/bench#1 SMP Mon Mar 1 17:16:16 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
2. CentOS Linux release 8.3.2011
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
CentOS Linux release 8.3.2011
CentOS Linux release 8.3.2011
**Command Run (Required)**
sudo python3 install.py --production
**Log File (Required)**
[easy-install__2021-03-10__16-31.log](https://github.com/frappe/bench/files/6117491/easy-install__2021-03-10__16-31.log)
**Screenshots**

**Additional context**
Running sudo python3 install.py --production on centos 8 reports can't find python-setuptools, python-devel because on
centos the package names are python3-setuptools, python3-devel.
Edit the install.py file for this and run again, got error of
**ModuleNotFoundError: No module named 'distro'**
**Possible Solution**
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with install.py and reproduce `sudo python3 install.py --production` on the reported CentOS 8 environment, using the linked easy-install log as the first diagnostic reference. Check the package-name handling and the reported `distro` import failure. Done means the installation proceeds without these errors on the stated environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100