On Tue, Jan 13, 2009 at 4:02 PM, Vern Ceder <vce...@canterburyschool.org>wrote:

> Hi,
>
> I have Python 3.0/Tkinter/IDLE working fine on Ubuntu 8.10, but it takes a
> certain amount of fiddling.
>
> 1. Make sure the stock Ubuntu Python 3.0 package is not installed
>
> 2. download the Python 3.0 source from python.org
>
> 3. install the following packages: build-essential libsqlite3-dev
> libreadline5-dev libncurses5-dev zlib1g-dev libbz2-dev libssl-dev
> libgdbm-dev tk-dev
>
> 4. unpack the Python source and switch to that folder
>
> 5. build Python using the standard ./configure, make, make install sequence
> - if you want more detail/help on that process, just ask...
>
> I'd be happy to explain this process in more detail if anyone wants...
>
> Cheers,
> Vern
>
Yes Vern, it works. Thank you so much.
I installed the missing packages and downloaded and installed the Python3.0
source and it's now perfect.
Thanks again

>
>  Hi Tutors,I have downloaded Python3.0 and started playing with it. I like
>> it
>> because of the utf-8 default encoding, but I'm having trouble importing
>> tkinter. I get the following:
>>
>>> >>> import turtle
>>>>>
>>>> Traceback (most recent call last):
>>  File "<stdin>", line 1, in <module>
>>  File "/usr/local/lib/python3.0/turtle.py", line 107, in <module>
>>    import tkinter as TK
>>  File "/usr/local/lib/python3.0/tkinter/__init__.py", line 39, in <module>
>>    import _tkinter # If this fails your Python may not be configured for
>> Tk
>> ImportError: No module named _tkinter
>>
>>> >>> import tkinter
>>>>>
>>>> Traceback (most recent call last):
>>  File "<stdin>", line 1, in <module>
>>  File "/usr/local/lib/python3.0/tkinter/__init__.py", line 39, in <module>
>>    import _tkinter # If this fails your Python may not be configured for
>> Tk
>> ImportError: No module named _tkinter
>>
>>> >>>
>>>>>
>>>>
>> Any idea how this can be solved on Ubuntu 8.10. I don't have this problem
>> with the default Python installation (2.5.2)
>> Thank you
>>
>
>
> --
> This time for sure!
>   -Bullwinkle J. Moose
> -----------------------------
> Vern Ceder, Director of Technology
> Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
> vce...@canterburyschool.org; 260-436-0746; FAX: 260-436-5137
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد
الغزالي
"No victim has ever been more repressed and alienated than the truth"

Emad Soliman Nawfal
Indiana University, Bloomington
http://emnawfal.googlepages.com
--------------------------------------------------------
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to