Thanks everyone, I have it working.
Please note that in the following paste, for brevity, I deleted a
whole bunch of file paths (marked by *****(Deleted a whole bunch of
file paths)**** )
Your advice was helpful even though, as you will see belowe, some of
it required some syntax changes. eg there is no "pip3 uninstall
--user" option
I am happy.
Thanks again!
Peter
****** paste begins here ******
peter@peter-Inspiron-3551:~$ pip3 uninstall --user PyQt5
Usage:
pip3 uninstall [options] <package> ...
pip3 uninstall [options] -r <requirements file> ...
no such option: --user
peter@peter-Inspiron-3551:~$ pip uninstall --user PyQt5
Usage:
pip uninstall [options] <package> ...
pip uninstall [options] -r <requirements file> ...
no such option: --user
peter@peter-Inspiron-3551:~$ pip3 uninstall Pyqt5
Found existing installation: PyQt5 5.13.2
Uninstalling PyQt5-5.13.2:
Would remove:
/home/peter/.local/bin/pylupdate5
/home/peter/.local/bin/pyrcc5
/home/peter/.local/bin/pyuic5
/home/peter/.local/lib/python3.6/site-packages/PyQt5-5.13.2.dist-info/*
/home/peter/.local/lib/python3.6/site-packages/PyQt5/*
Would not remove (might be manually added):
/home/peter/.local/lib/python3.6/site-packages/PyQt5/Qsci.so
/home/peter/.local/lib/python3.6/site-packages/PyQt5/Qt/lib/libQt5WebEngine.so.5
... (Deleted a whole bunch of file paths)
/home/peter/.local/lib/python3.6/site-packages/PyQt5/QtWebEngine.so
/home/peter/.local/lib/python3.6/site-packages/PyQt5/QtWebEngineCore.so
/home/peter/.local/lib/python3.6/site-packages/PyQt5/QtWebEngineWidgets.so
/home/peter/.local/lib/python3.6/site-packages/PyQt5/
sip.cpython-36m-x86_64-linux-gnu.so
Proceed (y/n)? y
Successfully uninstalled PyQt5-5.13.2
peter@peter-Inspiron-3551:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import popplerqt5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version
`Qt_5.12' not found (required by
/usr/local/lib/python3.6/dist-packages/PyQt5/QtCore.so)
>>> exit()
peter@peter-Inspiron-3551:~$ pip3 install PyQt5
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PyQt5 in
/usr/local/lib/python3.6/dist-packages (5.12.3)
Requirement already satisfied: PyQt5_sip<13,>=4.19.14 in
./.local/lib/python3.6/site-packages (from PyQt5) (12.7.0)
peter@peter-Inspiron-3551:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import popplerqt5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version
`Qt_5.12' not found (required by
/usr/local/lib/python3.6/dist-packages/PyQt5/QtCore.so)
>>> exit()
peter@peter-Inspiron-3551:~$ pip3 uninstall PyQt5
Found existing installation: PyQt5 5.12.3
Uninstalling PyQt5-5.12.3:
Would remove:
/usr/local/bin/pylupdate5
/usr/local/bin/pyrcc5
/usr/local/bin/pyuic5
/usr/local/lib/python3.6/dist-packages/PyQt5-5.12.3.dist-info/*
/usr/local/lib/python3.6/dist-packages/PyQt5/*
Would not remove (might be manually added):
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5Charts.so.5
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5WebEngine.so.5
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5WebEngineCore.so.5
*****(Deleted a whole bunch of file paths)****
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/translations/qtwebengine_locales/zh-TW.pak
/usr/local/lib/python3.6/dist-packages/PyQt5/QtChart.so
/usr/local/lib/python3.6/dist-packages/PyQt5/QtWebEngine.so
/usr/local/lib/python3.6/dist-packages/PyQt5/QtWebEngineCore.so
/usr/local/lib/python3.6/dist-packages/PyQt5/QtWebEngineWidgets.so
/usr/local/lib/python3.6/dist-packages/PyQt5/sip.so
Proceed (y/n)? y
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/shutil.py", line 550, in move
os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied:
'/usr/local/bin/pylupdate5' ->
'/tmp/pip-uninstall-h08_p3xj/pylupdate5'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/peter/.local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py",
line 186, in _main
status = self.run(options, args)
File "/home/peter/.local/lib/python3.6/site-packages/pip/_internal/commands/uninstall.py",
line 79, in run
auto_confirm=options.yes, verbose=self.verbosity > 0,
File "/home/peter/.local/lib/python3.6/site-packages/pip/_internal/req/req_install.py",
line 687, in uninstall
uninstalled_pathset.remove(auto_confirm, verbose)
File "/home/peter/.local/lib/python3.6/site-packages/pip/_internal/req/req_uninstall.py",
line 394, in remove
moved.stash(path)
File "/home/peter/.local/lib/python3.6/site-packages/pip/_internal/req/req_uninstall.py",
line 283, in stash
renames(path, new_path)
File "/home/peter/.local/lib/python3.6/site-packages/pip/_internal/utils/misc.py",
line 334, in renames
shutil.move(old, new)
File "/usr/lib/python3.6/shutil.py", line 565, in move
os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/usr/local/bin/pylupdate5'
peter@peter-Inspiron-3551:~$ sudo pip3 uninstall PyQt5
[sudo] password for peter:
WARNING: pip is being invoked by an old script wrapper. This will fail
in a future version of pip.
Please see
https://github.com/pypa/pip/issues/5599 for advice on
fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of
running pip directly.
WARNING: The directory '/home/peter/.cache/pip' or its parent
directory is not owned or is not writable by the current user. The
cache has been disabled. Check the permissions and owner of that
directory. If executing pip with sudo, you may want sudo's -H flag.
Found existing installation: PyQt5 5.12.3
Uninstalling PyQt5-5.12.3:
Would remove:
/usr/local/bin/pylupdate5
/usr/local/bin/pyrcc5
/usr/local/bin/pyuic5
/usr/local/lib/python3.6/dist-packages/PyQt5-5.12.3.dist-info/*
/usr/local/lib/python3.6/dist-packages/PyQt5/*
Would not remove (might be manually added):
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5Charts.so.5
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5WebEngine.so.5
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5WebEngineCore.so.5
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5WebEngineWidgets.so.5
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/libexec/QtWebEngineProcess
**** (Deleted a whole bunch of file paths) ****
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/translations/qtwebengine_locales/vi.pak
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/translations/qtwebengine_locales/zh-CN.pak
/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/translations/qtwebengine_locales/zh-TW.pak
/usr/local/lib/python3.6/dist-packages/PyQt5/QtChart.so
/usr/local/lib/python3.6/dist-packages/PyQt5/QtWebEngine.so
/usr/local/lib/python3.6/dist-packages/PyQt5/QtWebEngineCore.so
/usr/local/lib/python3.6/dist-packages/PyQt5/QtWebEngineWidgets.so
/usr/local/lib/python3.6/dist-packages/PyQt5/sip.so
Proceed (y/n)? y
Successfully uninstalled PyQt5-5.12.3
peter@peter-Inspiron-3551:~$ python3
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import popplerqt5
>>> exit()
peter@peter-Inspiron-3551:~$ frescobaldi
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
peter@peter-Inspiron-3551:~$
> You received this message because you are subscribed to a topic in the Google Groups "Frescobaldi" group.
> To unsubscribe from this topic, visit
https://groups.google.com/d/topic/frescobaldi/ZBTwuLqT6gQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
frescobaldi...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/frescobaldi/4087b84cfde766a7bf944375f5162fbc3e5bc904.camel%40openlilylib.org.
--
Peter