Please tell me if you get an idea of this error, Thanks
UserWarning: nltk.draw package not loaded (please install Tkinter
library).
Are you able to start a Python session and do:
>>> import Tkinter
>>> import nltk
If not, then you might have two instances of Python installed on your
system, one with Tkinter, and the other with NLTK.
-Steven Bird
On Jan 23, 4:48 pm, Steven Bird <stevenbi...@gmail.com> wrote:
You could install NLTK in the location for 2.4.X, or else fix your
2.6.4 setup. Given that you've installed other Python libraries
(probably for Python 2.6), I recommend the latter option.
Tkinter is part of the standard library in 2.6 so its not necessary to
install it separately, but it depends on the tk library (including a
file "libtk") in one of the standard library locations for your
system. I suspect this might be missing from your setup. You'll need
to use your system's package installation tool to get that.
-Steven
The situation is this:
I use opensuse, which bundled with a python 2.4.X version, I installed
it.
Then I think python 2.6.4 is better, so I installed python 2.6.4
and all the later package I installed, were with python 2.6.4.
Now there is an python-tk missing, and the software management
software showed that it is already installed.
So I think it is asscociated with python 2.4.X.
And I cannot find a place for downloading this tkinter....so I cannot
install it manually too.
On Jan 23, 7:02 pm, Steven Bird <stevenbi...@gmail.com> wrote:
I can't really advise on openSUSE. If it tells you you already have
python-tk, you need to check which version of python-tk it is. From a
quick web search it looks like you would have to have openSUSE 11.1 or
later in order to get Python 2.6 [1]. If you install everything using
the same package manager you should also get all the dependencies
installed too (including libtk).
and by the way, I use opensuse 10.3....and opensuse don't provide
support for 10.3
because novell said they need to move "forward"... I hate them
then of coz they don't provide download of tkinter for 10.3 anymore
On Jan 24, 4:14 am, Steven Bird <stevenbi...@gmail.com> wrote:
Right, you shouldn't try to remove 2.4. Instead, you should try to
install 2.6 using YaST. If you do that, all the dependencies should
be taken care of automatically.
-Steven
now it is ok
On Jan 24, 3:06 pm, Steven Bird <stevenbi...@gmail.com> wrote: