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

TypeError: bases must be types #18

Closed
albirrkarim opened this issue Jun 30, 2023 · 2 comments
Closed

TypeError: bases must be types #18

albirrkarim opened this issue Jun 30, 2023 · 2 comments

Comments

@albirrkarim
Copy link

Screenshot 2023-06-30 at 18 13 36

Why this happens ?

I install via pip

pip install transparent-background

when I try to import remover it show error like the screenshot above

Macbook Air m1
Mac Os Ventura 13.4.1

@albirrkarim
Copy link
Author

albirrkarim commented Jun 30, 2023

the problem is caused by protobuf package version 4.23.3

Name: protobuf
Version: 4.23.3
Summary: 
Home-page: https://developers.google.com/protocol-buffers/
Author: protobuf@googlegroups.com
Author-email: protobuf@googlegroups.com
License: 3-Clause BSD License
Location: /Users/susanto/miniforge3/envs/coba_torch/lib/python3.9/site-packages
Requires: 
Required-by: onnx, onnxruntime, tensorboard

When I install a different version

pip install protobuf==3.18.1

it solve the problem

refer to this issue

@plemeri
Copy link
Owner

plemeri commented Jul 12, 2023

Thank you for sharing the solution for the error that you have been through. Closing the issue with pin issue.

@plemeri plemeri closed this as completed Jul 12, 2023
@plemeri plemeri pinned this issue Jul 12, 2023
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