Hi, 
I'm trying to install mnemosyne2.2.1 and get the error shown above. I've 
installed all the modules, and searched on these forums, but found nothing that 
worked.

Here's the tail of what I got on the install:

Processing Mnemosyne-2.2.1-py2.6.egg
removing '/usr/local/lib/python2.6/dist-packages/Mnemosyne-2.2.1-py2.6.egg' 
(and everything under it)
creating /usr/local/lib/python2.6/dist-packages/Mnemosyne-2.2.1-py2.6.egg
Extracting Mnemosyne-2.2.1-py2.6.egg to /usr/local/lib/python2.6/dist-packages
SyntaxError: ('invalid syntax', 
('/usr/local/lib/python2.6/dist-packages/Mnemosyne-2.2.1-py2.6.egg/mnemosyne/libmnemosyne/databases/SQLite.py',
 576, 55, '            existing_tag_for_name = {tag.name : tag for tag in 
self.tags()}\n'))

Mnemosyne 2.2.1 is already the active version in easy-install.pth
Installing mnemosyne-webserver script to /usr/local/bin
Installing mnemosyne script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/Mnemosyne-2.2.1-py2.6.egg
Processing dependencies for Mnemosyne==2.2.1
Finished processing dependencies for Mnemosyne==2.2.1

Here's my Python version:

/home/coconino/Mnemosyne-2.2.1$python
'import site' failed; use -v for traceback
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.
>>> 

and this when I try to run the program:

/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

System: Ubuntu 10.04

BTW, install worked fine with a different machine using 12.04 (and not having 
so many Python versions. Here's my /usr/bin

/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 help. 

-- 
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/da4bbdc0-1191-4f58-b7a1-63231f96005e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to