Re: psycopg2

57 views
Skip to first unread message

Ovnicraft

unread,
Nov 17, 2012, 12:10:22 PM11/17/12
to django...@googlegroups.com



On Sat, Nov 17, 2012 at 11:07 AM, Jun Tanaka <tna...@gmail.com> wrote:
I run a django program with psycopg2 on Mac and then it works fine. Now, I am trying to run the same program on Windows. Then "ImportError: No module named psycopg2.extensions" shows up. I installed the same version of django, postgres, psycopg2. 

Hello, can you pastebin the traceback ?

Regards, 

Please give me a help. 


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/lBccIlvFh6EJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Cristian Salamea
@ovnicraft

Jun Tanaka

unread,
Nov 18, 2012, 2:36:35 AM11/18/12
to django...@googlegroups.com
Thank you for your advise. I used the trace back and it says 'exceptions.ImportError'. On Windows, cay you not easy_install psycopg2? When I did, it seems that it was done correctly. 

Please help!!!






2012年11月18日日曜日 2時11分23秒 UTC+9 ovnicraft:

Mike Dewhirst

unread,
Nov 18, 2012, 3:22:39 AM11/18/12
to django...@googlegroups.com
A very useful resource for Windows users is

http://www.lfd.uci.edu/~gohlke/pythonlibs/

... where you can download the compiled psycpg2 package you need.

Also, I prefer pip rather than easy-install

Good luck.

Mike

On 18/11/2012 6:36pm, Jun Tanaka wrote:
> Thank you for your advise. I used the trace back and it says
> 'exceptions.ImportError'. On Windows, cay you not easy_install psycopg2?
> When I did, it seems that it was done correctly.
>
> Please help!!!
>
>
>
>
>
>
> 2012年11月18日日曜日 2時11分23秒
> UTC+9 ovnicraft:
>
>
>
>
> On Sat, Nov 17, 2012 at 11:07 AM, Jun Tanaka <tna...@gmail.com
> <javascript:>> wrote:
>
> I run a django program with psycopg2 on Mac and then
> it works fine. Now, I am trying to run the same program on
> Windows. Then "ImportError: No module named psycopg2.extensions"
> shows up. I installed the same version of django, postgres,
> psycopg2.
>
>
> Hello, can you pastebin the traceback ?
>
> Regards,
>
>
> Please give me a help.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/lBccIlvFh6EJ
> <https://groups.google.com/d/msg/django-users/-/lBccIlvFh6EJ>.
> To post to this group, send email to django...@googlegroups.com
> <javascript:>.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com <javascript:>.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en
> <http://groups.google.com/group/django-users?hl=en>.
>
>
>
>
> --
> Cristian Salamea
> @ovnicraft
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/rXd8_WuUhDgJ.
Reply all
Reply to author
Forward
0 new messages