[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] ImportError: No module named psycopg2
From: |
Holger Patzelt |
Subject: |
Re: [Gnumed-devel] ImportError: No module named psycopg2 |
Date: |
Sun, 29 Mar 2015 07:58:44 +0200 |
> Am 28.03.2015 um 13:52 schrieb Sebastian Hilbert <address@hidden>:
>
> A word of caution. Mac OS X does provide way too many ways to install python
> (along with the system provided one) to fail in many ways.
yep!
>
> I have been there.
>
> The most recent attempt to get everything installed is documented here.
>
> http://wiki.gnumed.de/bin/view/Gnumed/MacNativeGNUmed
This reminds me of another problem GNUmed lacks in my Op: some straight and
actual(!) doc.
>
> Unfortunately the only sane way is to package everything into a dmg for Mac.
> I have it running here (installed properly) but have not yet found the time
> to package this into a dmg (in a scripted way).
Not that I would lack of things I could/would have to do on the coming
weekends, but may be there would be some spare time for me esp. on the upcoming
easter-WE. So if you have some good (and a bit foolproof) links on doc, that
tells what needs to be done, I might find some time to script a bit, if you
like...
>
> Forget about MacPorts, Fink and Homebrew or you are on your way to dependency
> hell.
yeah. Exactly what I felt like: deep dep-hell!!
>
> While it is doable on Mac I currently lack the time to properly package
> GNUmed. I would however be happy to teach someone how to do it. Last time I
> went through it was probably a year ago but I feel confident that it can be
> accomplished within two weeks or so.
>
> If this is attempted wxpython 3.0 should be used as it provides much nicer
> support for Mac environments.
Did I say I am a fan of up-to-date environments? (OK- this may not seem
reasonable for a german Telekom-Daughter-Employee ;-) )
>
> We should schedule a GNUmed coding sprint for this year. This would give us
> the opportunity to get the automatic GNUmed packaging for Mac and Windows
> done.
>
> Sebastian
>
> Am Samstag, 28. März 2015, 13:07:08 schrieb Karsten Hilbert:
> > On Sat, Mar 28, 2015 at 10:39:32AM +0100, Holger Patzelt wrote:
> > > I have a MacBook Pro with Yosemite.
> > >
> > > As we Plan to use gnumed for some business, I wanted to give it a try on
> > > my MacBook.>
> > > But unfortunately no matter what install-method I try i end up with:
> > > ./gm-from-vcs.sh
> > >
> > > -------------------------------------------------
> > > fatal: Not a git repository (or any of the parent directories): .git
> > > Running from Git branch:
> > > -------------------------------------------------
> > > Faulthandler not available ...
> > > Running from local source tree (/Users/hop2005/gnumed-client.1.5.4) ...
> > > Adjusting PYTHONPATH ...
> > > Faulthandler not available ...
> > > .========================================================
> > >
> > > | Unhandled exception caught !
> > > | Type : <type 'exceptions.ImportError'>
> > > | Value: No module named psycopg2
> > >
> > > `========================================================
> > >
> > > Traceback (most recent call last):
> > > File "gnumed.py", line 623, in <module>
> > >
> > > from Gnumed.pycommon import gmI18N, gmTools, gmDateTime, gmHooks
> > >
> > > File "/Users/hop2005/gnumed-client.1.5.4/Gnumed/pycommon/gmDateTime.py",
> > > line 50, in <module>>
> > > import psycopg2 # this
> > > will go once datetime has timezone classes
> > >
> > > ImportError: No module named psycopg2
> > >
> > > I DO have it installed in more than one way now.
> > >
> > > eg.: sudo port install py26-psycopg2 +postgresql84
> > >
> > > any hints??
> >
> > Are you using the system Python or a user install thereof ?
> >
> > Open a python interactive interpreter shell whichever way of the above and
> > type
> >
> > import psycopg2
> >
> > What does it say ?
> >
> > Karsten
>
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnumed-devel
- Re: [Gnumed-devel] ImportError: No module named psycopg2, (continued)
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Karsten Hilbert, 2015/03/28
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Busser, Jim, 2015/03/28
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Karsten Hilbert, 2015/03/28
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Busser, Jim, 2015/03/28
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Karsten Hilbert, 2015/03/28
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Sebastian Hilbert, 2015/03/28
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Holger Patzelt, 2015/03/29
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Karsten Hilbert, 2015/03/29
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Karsten Hilbert, 2015/03/29
- Re: [Gnumed-devel] ImportError: No module named psycopg2, Busser, Jim, 2015/03/29
- Re: [Gnumed-devel] ImportError: No module named psycopg2,
Holger Patzelt <=