You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
An error while trying to install the frappe-manager package using pip. The installation process fails during the metadata generation step for the 'cloudflare' package. The error seems to be related to the 'pkgutil' module, which does not have the attribute 'ImpImporter'.
Expected behavior
The error you're encountering is due to a change in Python 3.12 where the ImpImporter class was removed from the pkgutil module. To resolve this issue, you can downgrade your Python version to 3.11 or lower, or you can apply a patch to the affected package.
System information (please complete the following information):
fm --version
lsb_release -a
docker version
docker-compose version or docker compose version
Additional Information
If you prefer to use Python 3.12, you'll need to wait for the package maintainers to update the affected packages to be compatible with Python 3.12 or manually patch the package yourself.
The text was updated successfully, but these errors were encountered:
I am unable to reproduce this issue on Ubuntu 24.04 LTS. Should I try a different OS? Also, installing Python 3.11 seems to require a PPA. Am I missing something?
This issue tracker is only for issues related to Frappe-Manager. Please use https://github.com/rtcamp/frappe-manager/discussions for support questions.
Describe the bug
An error while trying to install the frappe-manager package using pip. The installation process fails during the metadata generation step for the 'cloudflare' package. The error seems to be related to the 'pkgutil' module, which does not have the attribute 'ImpImporter'.
To Reproduce
1. Uninstall Python 3.12:
sudo apt remove python3.12
2. Install Python 3.11:
sudo apt update
sudo apt install python3.11 python3.11-venv python3.11-dev
3. Create a virtual environment (optional but recommended):
python3.11 -m venv myenv
source myenv/bin/activate
Install frappe-manager again:
4. Install frappe-manager again:
pip install frappe-manager
Expected behavior
The error you're encountering is due to a change in Python 3.12 where the ImpImporter class was removed from the pkgutil module. To resolve this issue, you can downgrade your Python version to 3.11 or lower, or you can apply a patch to the affected package.
System information (please complete the following information):
fm --version
lsb_release -a
docker version
docker-compose version
ordocker compose version
Additional Information
If you prefer to use Python 3.12, you'll need to wait for the package maintainers to update the affected packages to be compatible with Python 3.12 or manually patch the package yourself.
The text was updated successfully, but these errors were encountered: