On Saturday, 10 December 2016 18:38:19 UTC+11, Peter Bienstman wrote: > Hi, > > This is not really a Mnemosyne issue, but there must be something wrong with > your setuptools install... > > If you start 'python3', and then type ' from setuptools import setup, > Command', what happens? > > Perhaps you have a different python interpreter in your path where setuptools > is not installed, perhaps from some virtualenv? > > Does 'which python3' give you the path you expect? > > I'm also nearing the end of my line here, so if this doesn't work, perhaps > it's best to ask help on a Ubuntu forum? > > BTW, there have been reports of successful installs on later Ubuntu versions. > > Good luck! > > Peter > > > -----Original Message----- > > From: [email protected] [mailto:mnemosyne- > > [email protected]] On Behalf Of [email protected] > > Sent: 10 December 2016 06:02 > > To: mnemosyne-proj-users <[email protected]> > > Subject: Re: [mnemosyne-proj-users] Mnemosyne-2.4 install issue on > > Ubuntu 14.04 LTS > > > > Hi Peter, > > > > Thanks for the quick reply. > > > > I discovered I had pip for Python 2.7 and not Python 3. I rectified this > > successfully with; > > > > sudo apt-get -y install python3-pip > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > The following extra packages will be installed: > > libpython3-dev libpython3.4-dev python3-colorama python3-dev python3- > > distlib > > python3-html5lib python3-wheel python3.4-dev > > Suggested packages: > > python3-genshi > > The following NEW packages will be installed > > libpython3-dev libpython3.4-dev python3-colorama python3-dev python3- > > distlib > > python3-html5lib python3-pip python3-wheel python3.4-dev > > 0 to upgrade, 9 to newly install, 0 to remove and 18 not to upgrade. > > > > and with; > > > > sudo pip3 install --upgrade setuptools > > Downloading/unpacking setuptools from > > https://pypi.python.org/packages/f3/5f/df3db5e01f268f53646f51f9b5063d68 > > 34a6744a0efdea4093bbcf86f83f/setuptools-30.3.0-py2.py3-none- > > any.whl#md5=f0b47405d391b1c744a28d1ef893f093 > > Downloading setuptools-30.3.0-py2.py3-none-any.whl (476kB): 476kB > > downloaded > > Installing collected packages: setuptools > > Found existing installation: setuptools 3.3 > > Not uninstalling setuptools at /usr/lib/python3/dist-packages, owned by > > OS > > Successfully installed setuptools > > Cleaning up... > > > > Confirmed by; > > > > sudo apt-get install python3-setuptools --upgrade > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > python3-setuptools is already the newest version. > > 0 to upgrade, 0 to newly install, 0 to remove and 18 not to upgrade. > > > > and; > > > > pip -V > > pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7) > > > > pip3 -V > > pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4) > > > > > > Alas, I am still getting this; > > > > sudo python3 setup.py install > > Traceback (most recent call last): > > File "setup.py", line 2, in <module> > > from setuptools import setup, Command > > ImportError: No module named 'setuptools' > > > > Apologies, I'm a bit out of my depth here, any other ideas? > > > > Thanks again, > > > > Damian. > > > > On Friday, 9 December 2016 22:25:18 UTC+11, Peter Bienstman wrote: > > > Hi, > > > > > > This seems like an issue specific to your version of Ubuntu. > > > > > > What happens if you upgrade setuptools outside of Ubuntu's packaging > > system: > > > > > > sudo pip3 install --upgrade setuptools > > > > > > Cheers, > > > > > > Peter > > > > > > -----Original Message----- > > > Sent: 09 December 2016 11:34 > > > To: mnemosyne-proj-users <[email protected]> > > > Subject: [mnemosyne-proj-users] Mnemosyne-2.4 install issue on Ubuntu > > 14.04 LTS > > > > > > Hi, > > > > > > I am having difficulties upgrading to the latest version of Mnemosyne. > > > > > > Upon running > sudo python3 setup.py install > > > > > > I get > > > > > > > Traceback (most recent call last): > > > File "setup.py", line 2, in <module> > > > from setuptools import setup, Command > > > ImportError: No module named 'setuptools' > > > > > > I appear to have setuptools as shown by > > > > > > > sudo apt-get install python3-setuptools > > > Reading package lists... Done > > > Building dependency tree > > > Reading state information... Done > > > python3-setuptools is already the newest version. > > > 0 to upgrade, 0 to newly install, 0 to remove and 22 not to upgrade. > > > > > > Not sure what I'm missing here, I'd appreciate any ideas. > > > > > > Thanks, > > > > > > Damian. > > > > > > -- > > > 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/5b864492- > > 96f4-42c8-9591-0ce2b5aafef2%40googlegroups.com. > > > 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 mnemosyne-proj- > > [email protected]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/mnemosyne-proj-users/27015466- > > bf02-4736-a57c-e3c063afb271%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.
Hi Peter, I've made progress and have now been able to successfully install v2.4. However, when I execute it I get this error message and the app doesn't open. libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile [1219/194609:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on. QIODevice::write (QProcess): device not open An unexpected error has occurred. Please forward the following info to the developers: Traceback (innermost last): File "/usr/local/bin/mnemosyne", line 4, in <module> __import__('pkg_resources').run_script('Mnemosyne==2.4', 'mnemosyne') File "/usr/local/lib/python3.5/site-packages/setuptools-32.1.2-py3.5.egg/pkg_resources/__init__.py", line 739, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/local/lib/python3.5/site-packages/setuptools-32.1.2-py3.5.egg/pkg_resources/__init__.py", line 1501, in run_script exec(script_code, namespace, namespace) File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/EGG-INFO/scripts/mnemosyne", line 229, in <module> File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/libmnemosyne/__init__.py", line 234, in initialise self.main_widget().activate() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/pyqt_ui/main_wdgt.py", line 52, in activate self.start_review() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/libmnemosyne/component.py", line 121, in start_review self.review_controller().reset() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", line 62, in reset self.show_new_question() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", line 123, in show_new_question self.update_dialog() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", line 200, in update_dialog self.update_qa_area(redraw_all) File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", line 237, in update_qa_area w.clear_answer() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/pyqt_ui/review_wdgt.py", line 248, in clear_answer self.update_stretch_factors() File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/pyqt_ui/review_wdgt.py", line 145, in update_stretch_factors self.estimate_height(self.question_text) File "/usr/local/lib/python3.5/site-packages/Mnemosyne-2.4-py3.5.egg/mnemosyne/pyqt_ui/review_wdgt.py", line 114, in estimate_height from PIL import Image ImportError: No module named 'PIL' I have already installed: sudo apt-get install python3-pil sudo apt-get install python3-imaging Got any more ideas? Thanks, Damian. -- 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/8f951a79-bd6e-4c53-b417-53c936179abe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
