Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: Cannot Import 'exception' from 'sys' When Running fm Command #241

Open
Venkateshvenki404224 opened this issue Nov 3, 2024 · 1 comment

Comments

@Venkateshvenki404224
Copy link

Bug Description

When running the fm command, I receive the following error:
image

Steps to Reproduce

  1. Run the command fm.
  2. Observe the error as described in the screenshot/logs.

Expected Behavior

The fm command should execute without any import errors.

System Information

  • Operating System Information: Please provide the output of lsb_release -a.
    image

  • Docker Version: Please provide the output of docker version.
    image

  • Docker Compose Version: Please provide the output of docker-compose version or docker compose version.
    image

@marcoantonio123456
Copy link

This was my experience with this issue

...
ImportError: cannot import name 'exception' from 'sys' (unknown location)
% docker-compose version
Docker Compose version v2.31.0-desktop.2
% pip uninstall frappe-manager
WARNING: Skipping frappe-manager as it is not installed.
% rm -rf /opt/homebrew/lib/python3.10/site-packages/frappe_manager
% /opt/homebrew/opt/[email protected]/bin/pip3.11 install frappe-manager
Collecting frappe-manager
  Using cached frappe_manager-0.16.0-py3-none-any.whl.metadata (2.4 kB)
Collecting certbot<3.0.0,>=2.9.0 (from frappe-manager)
  Using cached certbot-2.11.0-py3-none-any.whl.metadata (8.2 kB)
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants