Charlie Clark | 6 Aug 2010 19:59

Re: Psycopg] error psycopg in Django/MacOSX

Am 06.08.2010, 17:59 Uhr, schrieb Daniel França <daniel.franca <at> gmail.com>:

> hmm, maybe my python version? 2.7

Daniel,

keep your replies to the list so that others can see what's going on.

Works for me with Python 2.7:

fuchsia:djangotest charlieclark$ bin/python
Python 2.7 (r27:82500, Jul 10 2010, 11:26:23)
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.contrib.auth.models import User
>>> new_user = User.objects.create_user("charlie", "charlie <at> gmail.com",  
>>> "charlie")

If I remember correctly you have not installed Python or Postgres using  
MacPorts. If this is the case then I suggest you do try it.

Charlie
--

-- 
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
_______________________________________________
(Continue reading)


Gmane