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

iam already install pretty table but my terminal show this error:cannot import name 'PrettyTable' from partially initialized module 'prettytable' (most likely due to a circular import) #66

Open
Aryan-Rajesh-Python opened this issue Jan 8, 2023 · 1 comment

Comments

@Aryan-Rajesh-Python
Copy link

    iam already install pretty table but my terminal show this error:cannot import name 'PrettyTable' from partially initialized module 'prettytable' (most likely due to a circular import)

Originally posted by @2masa in #49 (comment)

@mykosalto
Copy link

I had the same problem. In my case, I named the file "prettytable.py" in which i tried to import "prettytable"...
so it turned out that the python was importing not from the package, but from a file I created with the same name.
maybe try to rename your file

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