-
Notifications
You must be signed in to change notification settings - Fork 233
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
import error #125
Comments
That's because you named your own script pandasgui.py, so if you try to run that script, python is importing your script from your script, and there is no show function in your script. Just don't name your scripts the same as the modules you import and you'll be fine. |
i did think that could be the problem so i tried running the code under a different name but that didnt work too. |
In that case, you will need to provide the information requested when you file a bug report and attach a screenshot. The screenshot you posted can only have one cause: collision of filename and module, causing a circular import, semi gracefully handled by python. Thanks! |
Were you able to create a new screenshot @AAtigre ? |
installed pandasgui using pip install on windows 10. tried running the sample code but its showing "cannot import name show from pandasgui" every time |
installed pandasgui using pip install on windows 8. tried running the sample code but its showing "cannot import name show from pandasgui" every time. please help.
The text was updated successfully, but these errors were encountered: