-
Notifications
You must be signed in to change notification settings - Fork 89
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: No module named 'prettytable' #49
Comments
prettytable might not be in your path. How did you install it? Try running python without anything from the same path as ec2instancespricing.py and write |
@erans Possible to replace |
you should upgrade your pip.
and in your code just add : from prettytable import PrettyTable |
Thats not work for me |
With the following command the problem is solved (at least for me): pip install prettytable I launched the command inside a virtual environment with Python 3.8. |
try to install using anaconda prompt it worked for me -- pip install prettytable |
try using Base Python env. I was trying inside an env even if it is installed sometimes does not work inside your own envs. just use Python3 in your kernel, do pip install prettytable then import it. |
if you are using ubuntu sudo apt update |
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) |
Do you have prettytable installed anywhere else?
…On Thu, Jul 28, 2022 at 10:51 PM 2masa ***@***.***> wrote:
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)
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACUE6WOODZKFCH2PAXQ4TVWNWM7ANCNFSM4CYFTOIA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for the. Solution
On Fri, 29 Jul, 2022, 9:27 PM Eran Sandler, ***@***.***>
wrote:
… Do you have prettytable installed anywhere else?
On Thu, Jul 28, 2022 at 10:51 PM 2masa ***@***.***> wrote:
> 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)
>
> —
> Reply to this email directly, view it on GitHub
> <
#49 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAACUE6WOODZKFCH2PAXQ4TVWNWM7ANCNFSM4CYFTOIA
>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2DD4FTNBH2FEKH5JUNDRJDVWP5PLANCNFSM4CYFTOIA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
https://github.com/ahmedabdulwhhab/SDN-RYU-Mininet-Path/tree/main/A9khan_A_Whhab_Traffic_Classifier more data can be viewed under |
first of all , if you are under conda, use under python/pycharm |
I have installed pretty table but it is showing this error.
ImportError: No module named 'prettytable'
The text was updated successfully, but these errors were encountered: