This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: New install Python 3.9.7 install of Sphinx Document Generator fails
Type: behavior Stage: resolved
Components: Demos and Tools Versions: Python 3.9
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: pbroe, ronaldoussoren
Priority: normal Keywords:

Created on 2021-09-22 22:21 by pbroe, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Sphinx install output.txt pbroe, 2021-09-22 22:21 Standard output from the pip install Sphinx command
Messages (3)
msg402472 - (view) Author: Paul Broe (pbroe) * Date: 2021-09-22 22:21
Brand new build of Python 3.9.7 on RHEL 7.  Placed in /usr/local/python3

Created new python environment

cd /usr/opt/oracle/
 python3 -m venv py3-sphinx
source /usr/opt/oracle/py3-sphinx/bin/activate
Now verify that python is now linked to Python 3.
In this virtual environment python  python3
python -V
Python 3.9.7

I installed all the pre-requisites correctly for Sphinx 4.2.0
See the output of the command in the attached file
command:
pip install -vvv --no-index --find-link=/usr/opt/oracle/downloads/python-addons sphinx
msg402483 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2021-09-23 09:36
The error in the attached file says that one of the dependencies could not be found, in particular the "packaging" library.

This doesn't look like a bug in CPython or pip, but more a general support question. I kindly ask you to visit one of the python forums or mail lists (for example https://discuss.python.org).
msg402566 - (view) Author: Paul Broe (pbroe) * Date: 2021-09-24 14:21
Good Morning:

I was able to resolve the issue based on your assistance.  I created this
topic at github.com

https://github.com/sphinx-doc/sphinx/issues/9669

Someone answered it and it was simple:

Thank you so much. That was it. I thought it was looking for a package but I
completely missed the fact that the package name was package. I can't
connect to the internet from my machines. So, I have to download everything
manually from PyPI.

I added packages pyparsing and packaging ...
And

Building wheels for collected packages: sphinx
Building wheel for sphinx (setup.py) ... done
Created wheel for sphinx: filename=Sphinx-4.2.0-py3-none-any.whl
size=3061858
sha256=c5b28f87749557dc8c06b9820c748d6c5e764e32f2f25620d08b3259993ea90a
Stored in directory:
/usr/opt/oracle/.cache/pip/wheels/31/d2/bc/aa1cbddf1cd38373f4632ab20b0e3400f
037bcf271b50b2397
Successfully built sphinx
Installing collected packages: sphinx
Successfully installed sphinx-4.2.0

You can close the issue.. It was not a python bug
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89430
2021-09-25 00:05:43terry.reedysetstatus: open -> closed
2021-09-24 14:21:11pbroesetstatus: pending -> open

messages: + msg402566
2021-09-23 09:36:36ronaldoussorensetstatus: open -> pending

type: behavior

nosy: + ronaldoussoren
messages: + msg402483
resolution: not a bug
stage: resolved
2021-09-22 22:21:45pbroecreate