How did you install the dependencies?
Best, Patrick On Thu, Feb 5, 2015 at 4:47 PM, Peter Bienstman <[email protected]> wrote: > Hi, > > It looks like your environment does not pick up the location of the Python > executable. > > Since I don't have a Mac myself, I put Patrick (who wrote these > instructions) in CC. Hopefully he can help. > > Cheers, > > Peter > > > -----Original Message----- > > From: [email protected] [mailto:mnemosyne- > > [email protected]] On Behalf Of eyeorama > > Sent: 04 February 2015 20:22 > > To: [email protected] > > Subject: Re: [mnemosyne-proj-users] Re: installing on Mac OS X > > > > I copied the attachment, and saved it under the file name 'makefile' and > put > > it in the same directory as setup.py, and ran the 'sudo make osx' command > > again. I got the following error: > > > > makefile:3: *** empty variable name. Stop. > > > > I googled this error, but everything I wasn't able to figure out how to > fix it. > > > > On Wednesday, February 4, 2015 at 7:26:59 AM UTC-6, Peter Bienstman > > wrote: > > > > Oops, the current linux tarball does not contain the makefile > needed > > for OSX. > > > > I'll fix this for the next release, but meanwhile, just copy the > attached > > makefile to be in the same location as setup.py. > > > > Good luck! > > > > Peter > > > > > -----Original Message----- > > > From: [email protected] <javascript:> > > [mailto:mnemosyne- <javascript:> > > > [email protected] <javascript:> ] On Behalf Of eyeorama > > > Sent: 03 February 2015 20:12 > > > To: [email protected] <javascript:> > > > Subject: Re: [mnemosyne-proj-users] Re: installing on Mac OS X > > > > > > I deleted everything except the tarball, and the unpacked it > again > > with tar - > > > zxvf Mnemosyne-2.3.1.tar.gz > > > > > > The instructions then say to go into 'the unpacked source > directory' > > and run > > > the command 'sudo make osx'. > > > > > > I couldn't find a specific /src directory, so I assume that I > need to go > > into root > > > directory of the newly unpacked tree, > > > /Mnemosyne-2.3.1 > > > > > > I did this, ran the command, and got the following error: > > > > > > make: *** No rule to make target `osx'. Stop. > > > > > > I thought I might have the wrong directory, but got the same > error > > when > > > running the command in /Mnemosyne-2.3.1/mnemosyne > > > > > > Am I in the wrong directory, or am I doing something else wrong? > > > > > > I appreciate the help, > > > > > > J > > > > > > On Tuesday, February 3, 2015 at 3:04:41 AM UTC-6, Peter > > Bienstman wrote: > > > > > > Hi, > > > > > > I'd suggest running the instructions on the website > first. > > > > > > Cheers, > > > > > > Peter > > > > > > > -----Original Message----- > > > > From: [email protected] <javascript:> > > > [mailto:mnemosyne- <javascript:> <javascript:> > > > > [email protected] <javascript:> ] On Behalf Of > > eyeorama > > > > Sent: 02 February 2015 19:16 > > > > To: [email protected] <javascript:> > > > > Subject: [mnemosyne-proj-users] Re: installing on Mac > OS X > > > > > > > > I have a similar problem, and I am unsure how the > remedy > > > previously > > > > outlined in this thread works, or if it applies to my > situation. I > > am > > > trying to > > > > install Mnemosyne 2.3.1 on my Mac running Snow > Leopard. I > > am > > > currently > > > > running Mnemosyne 2.2. I believe I have upgraded from a > > previous > > > > Mnemosyne version, because I have in my Library folder > both > > > Mnemosyne > > > > and Mnemosyne_1 directories. I am very hesitant to mess > > with > > > these, since I > > > > have been a Mnemosyne user for many years and I have > > > thousands of cards. > > > > My main interest in upgrading was to use sync to > backup my > > > database and > > > > not lose learning data. (I tried a while back to > import into the > > newer > > > version > > > > of Mnemosyne running on a Debian machine, and I > couldn't > > get it > > > to work. I > > > > thought syncing would be better than import/export) > > > > > > > > I first followed the instructions at http://mnemosyne- > > proj.org/os- > > > x- <http://mnemosyne-proj.org/os-x- <http://mnemosyne- > > proj.org/os-x-> > > > > > installation , but when I looked at the README that > came in > > the > > > tarball and > > > > the final instructions were different. I went with the > > README, > > > which in > > > > retrospect seems like a mistake. Instead of running > 'sudo > > make osx' > > > in the > > > > unpacked source directory, I ran 'sudo port select > python > > > python27', then > > > > 'python setup.py install' as root. When I try to run > the > > program by > > > typing > > > > 'mnemosyne,' I get the following errors: > > > > > > > > Traceback (innermost last): > > > > File "/usr/local/bin/mnemosyne", line 5, in <module> > > > > pkg_resources.run_script('Mnemosyne==2.3.1', > > 'mnemosyne') > > > > File > > > > > > > > > "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/p > > > > ython/pkg_resources.py", line 442, in run_script > > > > self.require(requires)[0].run_script(script_name, > ns) > > > > File > > > > > > > > > "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/p > > > > ython/pkg_resources.py", line 1167, in run_script > > > > exec script_code in namespace, namespace > > > > File > "/Library/Python/2.6/site-packages/Mnemosyne-2.3.1- > > > py2.6.egg/EGG- > > > > INFO/scripts/mnemosyne", line 101, in <module> > > > > ImportError: No module named PyQt4.QtGui An unexpected > > error > > > has > > > > occurred. > > > > Please forward the following info to the developers: > > > > > > > > Traceback (innermost last): > > > > File "/usr/local/bin/mnemosyne", line 5, in <module> > > > > pkg_resources.run_script('Mnemosyne==2.3.1', > > 'mnemosyne') > > > > File > > > > > > > > > "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/p > > > > ython/pkg_resources.py", line 442, in run_script > > > > self.require(requires)[0].run_script(script_name, > ns) > > > > File > > > > > > > > > "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/p > > > > ython/pkg_resources.py", line 1167, in run_script > > > > exec script_code in namespace, namespace > > > > File > "/Library/Python/2.6/site-packages/Mnemosyne-2.3.1- > > > py2.6.egg/EGG- > > > > INFO/scripts/mnemosyne", line 101, in <module> > > > > ImportError: No module named PyQt4.QtGui > > > > > > > > When I open IDLE, I have no problem importing the > > PyQt4.QtGui > > > module. > > > > > > > > Do I need to retrace my steps and follow the > instructions at > > > > http://mnemosyne-proj.org/os-x-installation > > <http://mnemosyne-proj.org/os-x-installation> <http://mnemosyne- > > > proj.org/os-x-installation> ? If so, is there an uninstall > > > > script? Or is there some other problem? > > > > > > > > I appreciate your help. > > > > > > > > J > > > > > > > > On Tuesday, August 30, 2011 at 5:48:54 PM UTC-5, > Patrick > > Kenny > > > wrote: > > > > > > > > The latest version installed properly! > > > > > > > > > > > > > > > > Thank you! > > > > > > > > > > > > Patrick > > > > > > > > On 8月31日, 午前3:48, Peter Bienstman > > > > <[email protected]> wrote: > > > > > > > Can you restore your > > > > u'/Volumes/Ocean/Users/patrick/Library/Mnemosyne > > > > > > > directory to what it was before the > update, and help > > me > > > debug > > > > some things > > > > > > > here? > > > > > > > > > > > Actually, Mnemosyne was never installed on > this Mac > > > > > > > > > > Ah, that's probably the reason. Could you > delete the > > > > Library/Mnemosyne and > > > > > Library/Mnemosyne_1 and try again with the > latest > > version? > > > > > > > > > > > > > > > > > > mnemosyne/mnemosyne/libmnemosyne/upgrades/upgrade1.py > > > > > > > > > > > I executed this script manually but it > didn't seem to do > > > anything. > > > > (I > > > > > > assume it shouldn't, since I have no > Mnemosyne > > data.) > > > > > > > > > > Actually, I was referring to doing some > debugging by > > adding > > > some > > > > print > > > > > statements to that file, etc, ..., but I > think the latest > > commit > > > fixes > > > > this. > > > > > > > > > > Peter > > > > > > > > -- > > > > You received this message because you are subscribed > to the > > > Google Groups > > > > "mnemosyne-proj-users" group. > > > > To unsubscribe from this group and stop receiving > emails > > from it, > > > send an > > > > email to mnemosyne-proj- > > [email protected] <javascript:> > > > <javascript:> . > > > > To post to this group, send email to mnemosyne-proj- > > > > [email protected] <javascript:> . > > > > To view this discussion on the web visit > > > > https://groups.google.com/d/msgid/mnemosyne-proj- > > <https://groups.google.com/d/msgid/mnemosyne-proj-> > > > users/e4801792- > > <https://groups.google.com/d/msgid/mnemosyne-proj- > > <https://groups.google.com/d/msgid/mnemosyne-proj-> > > > users/e4801792-> > > > > 858e-402b-abf9-e028d7183a15%40googlegroups.com > > <http://40googlegroups.com> > > > <http://40googlegroups.com> > > > > <https://groups.google.com/d/msgid/mnemosyne-proj- > > <https://groups.google.com/d/msgid/mnemosyne-proj-> > > > users/e4801792- > > <https://groups.google.com/d/msgid/mnemosyne-proj- > > <https://groups.google.com/d/msgid/mnemosyne-proj-> > > > users/e4801792-> > > > > 858e-402b-abf9- > > > > > > > > > e028d7183a15%40googlegroups.com?utm_medium=email&utm_source=foo > > <http://40googlegroups.com?utm_medium=email&utm_source=foo> > > > > > <http://40googlegroups.com?utm_medium=email&utm_source=foo > > <http://40googlegroups.com?utm_medium=email&utm_source=foo> > > > > > ter> . > > > > For more options, visit > https://groups.google.com/d/optout > > <https://groups.google.com/d/optout> > > > <https://groups.google.com/d/optout > > <https://groups.google.com/d/optout> > . > > > > > > > > > > > > > > > -- > > > You received this message because you are subscribed to the > > Google Groups > > > "mnemosyne-proj-users" group. > > > To unsubscribe from this group and stop receiving emails from it, > > send an > > > email to [email protected] > > <javascript:> . > > > To post to this group, send email to mnemosyne-proj- > > > [email protected] <javascript:> . > > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/mnemosyne-proj- > > users/9ff0867c-1f0a- <https://groups.google.com/d/msgid/mnemosyne- > > proj-users/9ff0867c-1f0a-> > > > 4a67-9c3d-568c04966547%40googlegroups.com > > <http://40googlegroups.com> > > > <https://groups.google.com/d/msgid/mnemosyne-proj- > > users/9ff0867c- <https://groups.google.com/d/msgid/mnemosyne-proj- > > users/9ff0867c-> > > > 1f0a-4a67-9c3d- > > > > > 568c04966547%40googlegroups.com?utm_medium=email&utm_source=foo > > <http://40googlegroups.com?utm_medium=email&utm_source=foo> > > > ter> . > > > For more options, visit https://groups.google.com/d/optout > > <https://groups.google.com/d/optout> . > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "mnemosyne-proj-users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to mnemosyne-proj- > > [email protected]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/mnemosyne-proj-users/5de595b0- > > aa48-4478-a115-b4e4bd85cec1%40googlegroups.com > > <https://groups.google.com/d/msgid/mnemosyne-proj-users/5de595b0- > > aa48-4478-a115- > > b4e4bd85cec1%40googlegroups.com?utm_medium=email&utm_source=foo > > ter> . > > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/CAE3gDhzC2Usf5ymPovWpRNhbkOaZ4rhsqHRrAXx%3D3o62at5RLg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
