re:unable to run mnemosyne 2.4 on 32 bit 16.04 ubuntu using tar.gz package

50 views
Skip to first unread message

Rohan Ajmani

unread,
Jan 10, 2017, 12:40:37 AM1/10/17
to mnemosyne-proj-users
HI ,
I am unable to run mnemosyne 2.4 on ubuntu 16.04 (32 bit) following error is

Traceback (innermost last):
  File "/usr/local/bin/mnemosyne", line 4, in <module>
    __import__('pkg_resources').run_script('Mnemosyne==2.4', 'mnemosyne')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1511, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.5/dist-packages/Mnemosyne-2.4-py3.5.egg/EGG-INFO/scripts/mnemosyne", line 132, in <module>
 ImportError: cannot import name 'QtWebEngineWidgets'


I tried sudo pip install PyQt5

i get  the following error
The directory '/home/rohan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/rohan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting PyQt5
  Could not find a version that satisfies the requirement PyQt5 (from versions: )
No matching distribution found for PyQt5

please help..





Peter Bienstman

unread,
Jan 10, 2017, 3:47:31 AM1/10/17
to mnemosyne-...@googlegroups.com

Hi,

 

This is not really a Mnemosyne problem, but have you tried adding the –H flag to sudo, as the error suggested?

 

Also, it’s probably safe do delete the .cache directory and see what happens.

 

Finally, you can try with pip3 instead of pip, to make sure you’re not trying to install an unexisting python2 package.

 

Cheers,

 

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-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/e9a444dd-a4a8-4eb5-8a0e-8b0cb37a0ec9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages