*Hi,*
*I am using Ubuntu 10.04, with Python 2.6.5, and get the following error when I try to run Mnemosyne:* /home/coconino$mnemosyne 'import site' failed; use -v for traceback Traceback (most recent call last): File "/usr/local/bin/mnemosyne", line 4, in <module> import pkg_resources ImportError: No module named pkg_resources *In trying various apt-gets, I have introduced a Python startup error:* /home/coconino$python -v # installing zipimport hook import zipimport # builtin # installed zipimport hook 'import site' failed; traceback: ImportError: No module named site Python 2.6.5 (r265:79063, Feb 27 2014, 19:44:14) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> *Here are the apt-gets I tried (in addition to the ones in the regular install)* /home/coconino$sudo apt-get install python-pkg-resources Reading package lists... Done Building dependency tree Reading state information... Done python-pkg-resources is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. /home/coconino$sudo apt-get install python-setuptools Reading package lists... Done Building dependency tree Reading state information... Done python-setuptools is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. *Finally, I have a several Pythons installed, but 2.6.5 is in /usr/lib/python* /home/coconino$ls -l /usr/bin/*python* -rwxr-xr-x 1 root root 7805 2010-02-22 12:56 /usr/bin/dh_python -rwxr-xr-x 1 root root 94 2014-02-27 20:13 /usr/bin/idle-python2.6 -rwxr-xr-x 1 root root 94 2012-10-23 21:46 /usr/bin/idle-python3.1 -rwxr-xr-x 1 root root 983 2010-04-25 04:20 /usr/bin/ipython -rwxr-xr-x 1 root root 331 2010-04-25 04:20 /usr/bin/ipython2.6 -rwxr-xr-x 1 root root 316 2010-04-25 04:20 /usr/bin/ipython-wx -rwxr-xr-x 1 root root 227 2010-04-25 04:20 /usr/bin/ipythonx lrwxrwxrwx 1 root root 18 2014-03-24 20:37 /usr/bin/python -> /usr/bin/python2.6 lrwxrwxrwx 1 root root 9 2013-09-21 15:51 /usr/bin/python2 -> python2.6 -rwxr-xr-x 1 root root 178 2009-06-02 13:54 /usr/bin/python2.5-pyrexc -rwxr-xr-x 1 root root 2292528 2014-02-27 20:16 /usr/bin/python2.6 lrwxrwxrwx 1 root root 9 2013-09-21 15:51 /usr/bin/python2.6.5 -> python2.6 -rwxr-xr-x 1 root root 1452 2014-02-27 20:13 /usr/bin/python2.6-config -rwxr-xr-x 1 root root 4921250 2014-02-27 20:13 /usr/bin/python2.6-dbg -rwxr-xr-x 1 root root 1456 2014-02-27 20:13 /usr/bin/python2.6-dbg-config -rwxr-xr-x 1 root root 178 2009-06-02 13:54 /usr/bin/python2.6-pyrexc -rwxr-xr-x 1 root root 2563016 2014-02-04 17:09 /usr/bin/python2.7 lrwxrwxrwx 1 root root 9 2010-12-15 19:43 /usr/bin/python3 -> python3.1 -rwxr-xr-x 1 root root 2465316 2012-10-23 21:48 /usr/bin/python3.1 -rwxr-xr-x 1 root root 5835831 2012-10-23 21:28 /usr/bin/python3.1-dbg -rwxr-xr-x 1 root root 1433 2012-10-23 21:46 /usr/bin/python3.1-dbg-config lrwxrwxrwx 1 root root 13 2013-11-23 19:13 /usr/bin/python3-dbg -> python3.1-dbg lrwxrwxrwx 1 root root 20 2013-11-23 19:13 /usr/bin/python3-dbg-config -> python3.1-dbg-config lrwxrwxrwx 1 root root 30 2013-03-10 16:24 /usr/bin/pythoncad -> ../share/pythoncad/gtkpycad.py lrwxrwxrwx 1 root root 16 2013-09-21 15:51 /usr/bin/python-config -> python2.6-config lrwxrwxrwx 1 root root 13 2013-11-23 19:12 /usr/bin/python-dbg -> python2.6-dbg lrwxrwxrwx 1 root root 20 2013-11-23 19:12 /usr/bin/python-dbg-config -> python2.6-dbg-config *Thanks for any suggestions.* *Ken (husband of Tante Leonie)* -- 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/7572c66c-7735-4d72-8fd4-d70c7c3e5623%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
