On 12/10/2023 01:09, David Farmer (austega) wrote:
>
> I have listed my latest Cmd window workings, hoping you can give me the
> next steps to try:
> ---
> Microsoft Windows [Version 10.0.22621.2428]
> (c) Microsoft Corporation. All rights reserved.
>
> C:\Users\auste>pip show photini
> Name: Photini
> Version: 2023.10.0
> Summary: Simple photo metadata editor
> Home-page:
https://github.com/jim-easterbrook/Photini
> Author: Jim Easterbrook
> Author-email:
j...@jim-easterbrook.me.uk
> License: GPLv3+
> Location: C:\Users\auste\AppData\Roaming\Python\Python311\site-packages
> Requires: appdirs, cachetools, chardet, exiv2, requests
> Required-by:
Good, that shows you have installed the latest Photini.
> C:\Users\auste>photini-configure
> 'photini-configure' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\Users\auste>photini-post-install
> 'photini-post-install' is not recognized as an internal or external command,
> operable program or batch file.
This suggests that those two commands are not on your %PATH%. The pip
command works though, so some Python commands are being found.
You should have a Python "scripts" directory somewhere, maybe
C:\Users\auste\AppData\Roaming\Python\Python311\Scripts
This should contain both pip.exe and photini-configure.exe
On my Windows 7 (virtual machine only used for testing) the Python stuff
is all under C:\Users\Jim\AppData\Local\, not
C:\Users\Jim\AppData\Roaming\, but both script directories are in %PATH%.
You could do 'pip show pip' to see if pip is installed in "Local" or
"Roaming".
> C:\Users\auste>python -m photini
> Traceback (most recent call last):
> File "<frozen runpy>", line 198, in _run_module_as_main
> File "<frozen runpy>", line 88, in _run_code
> File
> "C:\Users\auste\AppData\Roaming\Python\Python311\site-packages\photini\__main__.py", line 21, in <module>
> from photini.editor import main
> File
> "C:\Users\auste\AppData\Roaming\Python\Python311\site-packages\photini\editor.py", line 31, in <module>
> from photini.editsettings import EditSettings
> File
> "C:\Users\auste\AppData\Roaming\Python\Python311\site-packages\photini\editsettings.py", line 21, in <module>
> from photini.pyqt import (
> File
> "C:\Users\auste\AppData\Roaming\Python\Python311\site-packages\photini\pyqt.py", line 129, in <module>
> raise ex
> File
> "C:\Users\auste\AppData\Roaming\Python\Python311\site-packages\photini\pyqt.py", line 118, in <module>
> {'PyQt5': import_PyQt5,
> File
> "C:\Users\auste\AppData\Roaming\Python\Python311\site-packages\photini\pyqt.py", line 88, in import_PyQt6
> from PyQt6 import QtCore, QtGui, QtNetwork, QtWidgets
> ModuleNotFoundError: No module named 'PyQt6'
PyQt6 still needs to be installed. photini-configure is the easy way,
but you can also do
pip install photini[pyqt6]
to install Photini's PyQt6 dependencies.
> Is there something obvious I have missed. By the way I note the Cmd
> window listing starts with a Win 10 reference, but I am actually using
> Win 11.
I think Windows 11 is internally still Windows 10.