|
From: Guenter M. <mi...@us...> - 2023-05-29 20:15:14
|
On 2023-05-28, Alan G. Isaac wrote:
> I should be clearer. The installation appeared to succeed,
> but I cannot run rst2html5.py. Sorry for the previous
> misleading info.
Maybe it has something to do with your rst2html5.py?
> Traceback (most recent call last):
> File "C:\Program Files\Python311\Scripts\rst2html5.py", line 4, in <module>
> __import__('pkg_resources').run_script('docutils==0.20b0.dev0', 'rst2html5.py')
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Line 4 of the rst2html5.py distributed with Docutils is contains just a
comment:
# Copying and distribution of this file, with or without modification,
This may be due to an obsolete 3rd-party script or some
code prepended during the installation under Windows.
Also, you seem to run a mix of Python 3.11 and 3.12:
> File "C:\Program Files\Python311\Scripts\rst2html5.py", line 4, in <module>
^^^
vs.
> File "C:\Program Files\Python312\Lib\site-packages\pkg_resources\__init__.py", line 3326, in <module>
^^^
Which version of Python did you use to install/update the Docutils package?
You might try ``python3.11 -m docutils --version``
and ``python3.12 -m docutils --version`` to find out if
the installation works under the respective python versions.
You can also try whether using the shell command ``docutils`` instead of ``rst2html5.py``
helps.
Günter
|