Peter, 

> If you have troubles installing Pyqt5, that's not really a Mnemosyne 
issue.
I know that, of course. But I have a general problem with the installation 
of the software or its dependencies and I need help with this.

I took a few steps forward:

 9. ~$ sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qt5-doc
10. ~$ sudo python3 setup.py install
11. ~$ mnemosyne
    · Warning: Could not import OpenGL. Might cause a black screen on some 
Linux distributions. Try installing python3-opengl in that case.
12. ~$ sudo apt-get install python3-opengl
13. ~$ mnemosyne
    · Traceback (innermost last):
         File "/usr/local/bin/mnemosyne", line 4, in <module>
            __import__('pkg_resources').run_script('Mnemosyne==2.7.3', 
'mnemosyne')
         File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", 
line 658, in run_script
            self.require(requires)[0].run_script(script_name, ns)
         File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", 
line 1438, in run_script
            exec(code, namespace, namespace)
         File 
"/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.7.3-py3.6.egg/EGG-INFO/scripts/mnemosyne",
 
line 150, in <module>
            from PyQt5 import QtWebEngineWidgets  # Needs to happen first 
for some reason.
            ModuleNotFoundError: No module named 'PyQt5'

I suspect the problem is still with PyQt5 and will contact the appropriate 
forum. In any case, thank you for your support so far.

-- 
Best Regards,
Carsten Alexander

Peter Bienstman schrieb am Freitag, 15. Januar 2021 um 22:09:54 UTC+1:

> Hi,
>
> If you have troubles installing Pyqt5, that's not really a Mnemosyne 
> issue. Perhaps on your distro you need to install Pyqt using the system 
> package manager as opposed to pip? Otherwise you could also ask on a forum 
> devoted to your distribution?
>
> Peter 
>
> On Fri, 15 Jan 2021, 21:58 Carsten Alexander, <aca...@web.de> wrote:
>
>> Thanks Peter,
>>
>> after removing Mnemosyne, I tried an installation – strictly according to 
>> the documentation. But she faltered while installing PyQt5.
>>
>> My protocol:
>> 1. ~$ sudo apt-get autoremove mnemosyne
>> 2. ~$ sudo apt-get install mnemosyne
>>    · Traceback (innermost last):
>>         File "/usr/bin/mnemosyne", line 224, in <module>
>>            "ConfigurationWdgtCramming")]
>>         AttributeError: 'Mnemosyne' object has no attribute 
>> 'extra_components_for_plugin'
>> 3. ~$ sudo apt-get autoremove mnemosyne
>> 4. ~$ sudo pip install --upgrade PyQt5 matplotlib cheroot webob pillow 
>> googletrans gTTS
>>    · Could not find a version that satisfies the requirement PyQt5 (from 
>> versions: none)
>>    · No matching distribution found for PyQt5
>> 5. ~$ sudo pip install --upgrade pip
>> 6. ~$ sudo pip install --upgrade PyQt5 matplotlib cheroot webob pillow 
>> googletrans gTTS
>>    · Could not find a version that satisfies the requirement PyQt5 (from 
>> versions: none)
>>    · No matching distribution found for PyQt5
>> 7. ~$ sudo apt-get install python3-cherrypy3 python3-matplotlib 
>> python3-pip python3-setuptools python3-webob
>> 8. ~$ sudo pip3 install PyQt5
>>    · Traceback (most recent call last):
>>         File "<string>", line 1, in <module>
>>         File "/usr/lib/python3.6/tokenize.py", line 452, in open
>>            buffer = _builtin_open(filename, 'rb')
>>      FileNotFoundError: [Errno 2] No such file or directory: 
>> '/tmp/pip-build-d9q9nt3o/PyQt5/setup.py'
>>      (I checked it. There is no such directory like „pip-build-d9q9nt3o” 
>> in /tmp.)
>>
>> Any ideas?
>>
>> --
>> Best Regards,
>> Carsten Alexander
>> Peter Bienstman schrieb am Freitag, 15. Januar 2021 um 06:40:42 UTC+1:
>>
>>> Hi,
>>>
>>> My guess is that you have a mixture of old and new Mnemosyne files 
>>> somewhere. Try uninstalling both the system version and your latest 
>>> version, and try again.
>>>
>>> Peter 
>>>
>>> On Fri, 15 Jan 2021, 06:37 Carsten Alexander, <aca...@web.de> wrote:
>>>
>>>> Hi folks,
>>>>
>>>> after I made an unsuccessful attempt to update Mnemosyne from 2.4 
>>>> (according to Mnemosyne » Help » About) to version 2.7.3 (according to ~$ 
>>>> mnemosyne --version), Mnemosyne no longer starts and breaks with the error 
>>>> message
>>>>
>>>> Log body:
>>>>   An unexpected error has occurred.
>>>> Please forward the following info to the developers:
>>>>
>>>> Traceback (innermost last):
>>>>   File "/usr/bin/mnemosyne", line 224, in <module>
>>>>     "ConfigurationWdgtCramming")]
>>>>  AttributeError: 'Mnemosyne' object has no attribute 
>>>> 'extra_components_for_plugin'
>>>>
>>>> from. What can I do? I can still remember the process reasonably well. 
>>>> So if you need additional information, please ask me . My system:
>>>>
>>>> Os:        Ubuntu 18.04.5 LTS
>>>> Memory:    7.8 GiB
>>>> Processor: Intel® Core™ i5-3570K CPU @ 3.40GHz × 4
>>>> Grafix:    NV117
>>>> GNOME:     3.28.2
>>>> Type:      64-bit
>>>>
>>>> --
>>>> Best regards,
>>>> Carsten Alexander
>>>>
>>>>
>>>> -- 
>>>> 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 view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/039dce85-2938-484f-9091-cc6ae594f1f8n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/039dce85-2938-484f-9091-cc6ae594f1f8n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/mnemosyne-proj-users/a22b9d5f-4cf8-4f2b-b902-3d8d5b130ad3n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/a22b9d5f-4cf8-4f2b-b902-3d8d5b130ad3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/c48d7e57-fbe4-4e2b-9414-3187fa399178n%40googlegroups.com.

Reply via email to