[Trac] Installing Trac on OS X 10.4 and SQLite
Bryan Dyck
bdyck at mac.com
Fri Jun 17 15:48:09 CDT 2005
Doing a manual import in the python interpreter coughs up the same
"no module named sqlite" error... I also checked the output from
sys.path, and from my rather limited knowledge of Python, it looks
normal. Should I revert to pysqlite 1.1.x due to the API differences
between that and 2.x?
Cheers,
b
On Jun-17-05, at 1:21 PM, Mario Ruggier wrote:
> Have you tried to import manually?
>
> $ python
> Python 2.3 (#1, Sep 13 2003, 00:49:11)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sqlite
> >>>
>
> Thanks for the comments... it really _is_ nice to hear that you
> find the nofink wiki doc useful! But thanks should also go to a
> number of others, as I realize looking at the history that there
> has been a few others adding notes and corrections... that's really
> appreciated, thanks guys.
>
> mario
>
>
> On Jun 17, 2005, at 10:08 PM, Bryan Dyck wrote:
>
>
>> I have pysqlite installed (v2.03), and Tiger ships with SQLite
>> v3.1.3, so I'm not sure that that's the problem... pysqlite also
>> installed fine (or appeared to :).
>>
>> Bryan
>>
>>
>> On Jun-17-05, at 12:58 PM, Jeffrey E. Forcier wrote:
>>
>>
>>> Make sure you have the Python module 'py-sqlite' (or 'pysqlite'
>>> depending) and that you have SQLite 2.x and py-sqlite 2.0.3
>>> (pysqlite.org). Annoyingly, I can't help too much with manual
>>> installs of either as I use DarwinPorts on my Mac; I'm fairly
>>> sure you just need to unpack a tarball into /System/Frameworks/
>>> Python.framework/Versions/2.4/lib/.../site-packages or similar.
>>>
>>> Good luck,
>>> Jeff
>>>
>>> On Jun 17, 2005, at 3:45 PM, Bryan Dyck wrote:
>>>
>>>
>>>
>>>> I hope this hasn't been covered somewhere horribly obvious - if
>>>> it has, my apologies in advance: I recently upgraded to Tiger,
>>>> and have been going through the interminable process that is
>>>> making a fresh OS install usable :) - but I have run into a bit
>>>> of a snag with Trac.
>>>>
>>>> On my previous system, I had been running Apache2/Subversion/
>>>> Trac as installed by fink, mostly due to laziness at the time.
>>>> However, as nice as fink generally is, I decided this time
>>>> around to ditch fink and build everything manually in order to
>>>> have a bit more control over how things happen - many thanks to
>>>> Mario Ruggier for his "TracOnOSxNoFink" wiki entry: OS X 10.4
>>>> has been different enough that it's helped avoid errors due to
>>>> differences between it and 10.3.x. The build/install process has
>>>> gone swimmingly until I tried to set up my Trac environment
>>>> again, and I received the following error:
>>>>
>>>> Traceback (most recent call last):
>>>> File "/usr/local/bin/trac-admin", line 30, in ?
>>>> import sqlite
>>>> ImportError: No module named sqlite
>>>>
>>>> Although Mario's wiki entry indicates to install SQLite, I
>>>> wasn't sure if that would be necessary for OS X 10.4, as it
>>>> ships with SQLite pre-installed so I skipped that part -
>>>> apparently to my detriment. :) I poked around a bit and verified
>>>> that yes, SQLite exists on my system, but it seems that 10.4's
>>>> Python install is unaware of that fact (can you tell I'm not a
>>>> Python hacker? ;). Is this correct, and if so, how do I correct
>>>> it? Suggestions, hints or polite whacks with the Clue Stick
>>>> would be appreciated.
>>>>
>>>> Thanks!
>>>>
>>>> Bryan
>>>>
>
> _______________________________________________
> Trac mailing list
> Trac at lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>
More information about the Trac
mailing list