Comments (14)
setup.py has been changed to reflect this. unfortunately it seems you can no longer update metadata on pypi without making a new release.
from tkintertable.
Hello,
I am having the same problem, any solution to this? Is it not compatible with Python 3.6?
from tkintertable.
Thanks!
from tkintertable.
I'd have to do some rewriting to make it python 3 compatible. Normally I refer people to pandastable which is kept up to date and has many more features. If there's some reason you really want to use this one I can update it for python 3.
from tkintertable.
Thank you! I am going to try pandastable.
from tkintertable.
@pavlix This is now python 3 compatible. Will be released on pip soon.
from tkintertable.
When will it be released on pip? I'm still having this problem.
from tkintertable.
@Plancalkuele What problem. It was updated for python 3 since version 1.3
from tkintertable.
When I run the example code from https://github.com/dmnfarrell/tkintertable/wiki/Example-Code
I receive:
from tkintertable import TableCanvas, TableModel ImportError: cannot import name 'TableCanvas'
The example code from tkpandastable works. (https://github.com/dmnfarrell/pandastable/wiki/Code-Examples)
The requirements are satisfied after installing tkintertable:
Requirement already satisfied: tkintertable in ~/miniconda3/envs/../lib/python3.6/site-packages (1.3.1)
from tkintertable.
I am not sure I understand the reference to pandastable. pandastable is a completely separate package. If you prefer just use that instead.
This error implies that the package is not in your site-packages. If you are still getting this error maybe re-install?
I will push version 1.3.2 shortly which has some bug fixes for python 3, but if you see any others let me know.
from tkintertable.
I referenced pandastable because you referenced pandastable yourself in a previous message on this issue. I just tested the example for both packages but would rather like to use tkintertable first for a project I'm working on.
Anyway, I checked of course the site-packages folder and as stated before tkintertable has been installed by pip in the right folder. I just uninstalled and reinstalled tkintertable.
Same error:
ImportError: cannot import name 'TableCanvas'
Very confusing because I can see the class is there when taking a look in Tables.py
from tkintertable.
The import problem would happen if the site-packages folder is not in your PYTHONPATH. I am not that familiar with anaconda but it should just work.
Did you try opening a python interpreter in a console and importing the class to test?
from tkintertable.
Alright, problem fixed. Kind of embarrassing but I named the python script the same as the package. That's why it didn't find the class of course. Sorry for wasting your time. The package works fine with miniconda.
from tkintertable.
No problem, it's happened to me too.
from tkintertable.
Related Issues (20)
- cell binding HOT 7
- GPL or copyright? HOT 1
- How to autoResizeColumns correctly HOT 2
- Solved: Is it possible to make readonly just a single column ?
- rowspan and colspan HOT 1
- Values on table overlapping (Visual overlapping) HOT 1
- Draw Text does not work. HOT 1
- importCSV doesnt work HOT 2
- sys is not defined HOT 6
- isLink function in Tables.py logic issue HOT 2
- No Way to add several columns at ones HOT 1
- Left clicking bug
- Bug in `TableModel.deleteColumns()`
- Omit filter term in model.getColumnData
- Freezepane HOT 1
- Question on Data type HOT 1
- No Option to Insert Images Into TkinterTable? HOT 2
- Usage doc problem
- ListType outdated
- Output: "Did not find preferences!!!" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tkintertable.