On Tuesday, 9 April 2019 15:57:26 UTC+2, [email protected] wrote: > > Hi all > > I'm running on CentOS 7 > I've install the latest Sphinx 2.0.1 into a specified directory (not the > standard package directory) using pip3 > > PYTHONUSERBASE=mysphinxdir pip3 install --user --ignore-installed typing > > PYTHONUSERBASE=mysphinxdir pip3 install --user --ignore-installed sphinx > > > > This installed fine but I now need a couple of the extensions > sphinxcontrib-contentui and sphinxcontrib-fulltoc. Neither work I get a > similar error on both. Below is the exception for sphinxcontrib-contentui > The dependencies run through ok then I get the following message: > > > Running setup.py install for sphinxcontrib-contentui ... done > Exception: > Traceback (most recent call last): > File "/usr/lib/python3.4/site-packages/pip/basecommand.py", line 215, in > main > status = self.run(options, args) > File "/usr/lib/python3.4/site-packages/pip/commands/install.py", line > 326, in run > strip_file_prefix=options.strip_file_prefix, > File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 742, in > install > **kwargs > File "/usr/lib/python3.4/site-packages/pip/req/req_install.py", line 928 > , in install > with open(inst_files_path, 'w') as f: > FileNotFoundError: [Errno 2] No such file or directory: 'mysphinxdir > /lib/python3.4/site-packages/sphinxcontrib_contentui-0.2.2-py3.4.egg-info/installed-files.txt' > > > > Any suggestions welcome. >
First of all, I see you're using Python 3.4. This is not supported any longer with Sphinx 2.0. Only 3.5+ is supported nowadays (link to docs <https://www.sphinx-doc.org/en/2.0/changes.html#id3>). I don't think this is your actual problem, though. I believe you might have a problem with the version of pip you're using. I have not been able to reproduce your issue with modern version of Python and pip: $ python3.6 -m venv my-temp-venv $ source my-temp-venv/bin/activate $ pip install -U pip Collecting pip Using cached https: //files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 9.0.1 Uninstalling pip-9.0.1: Successfully uninstalled pip-9.0.1 Successfully installed pip-19.0.3 $ pip --version pip 19.0.3 from /home/gert/my-temp-venv/lib/python3.6/site-packages/pip (python 3.6) $ pip install 'Sphinx>=2.0' [...] $ pip install 'sphinxcontrib-contentui' Collecting sphinxcontrib-contentui Downloading https: //files.pythonhosted.org/packages/4b/88/90f37e2734402af7d03b323b4aa2ebf81632850d679b3d09268a81e610f6/sphinxcontrib-contentui-0.2.2.tar.gz Requirement already satisfied: Sphinx>=1.0 in ./my-temp-venv/lib/python3.6/ site-packages (from sphinxcontrib-contentui) (2.0.1) Requirement already satisfied: alabaster<0.8,>=0.7 in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (0.7.12) Requirement already satisfied: setuptools in ./my-temp-venv/lib/python3.6/ site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (39.0.1) Requirement already satisfied: sphinxcontrib-devhelp in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.0.1) Requirement already satisfied: sphinxcontrib-serializinghtml in ./my-temp- venv/lib/python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.1.3) Requirement already satisfied: imagesize in ./my-temp-venv/lib/python3.6/ site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.1.0) Requirement already satisfied: sphinxcontrib-applehelp in ./my-temp-venv/lib /python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.0.1) Requirement already satisfied: docutils>=0.12 in ./my-temp-venv/lib/python3. 6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (0.14) Requirement already satisfied: sphinxcontrib-jsmath in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.0.1) Requirement already satisfied: snowballstemmer>=1.1 in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.2.1) Requirement already satisfied: sphinxcontrib-qthelp in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.0.2) Requirement already satisfied: sphinxcontrib-htmlhelp in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (1.0.1) Requirement already satisfied: Jinja2>=2.3 in ./my-temp-venv/lib/python3.6/ site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (2.10.1) Requirement already satisfied: babel!=2.0,>=1.3 in ./my-temp-venv/lib/ python3.6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (2.6.0) Requirement already satisfied: packaging in ./my-temp-venv/lib/python3.6/ site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (19.0) Requirement already satisfied: Pygments>=2.0 in ./my-temp-venv/lib/python3.6 /site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (2.3.1) Requirement already satisfied: requests>=2.5.0 in ./my-temp-venv/lib/python3 .6/site-packages (from Sphinx>=1.0->sphinxcontrib-contentui) (2.21.0) Requirement already satisfied: MarkupSafe>=0.23 in ./my-temp-venv/lib/ python3.6/site-packages (from Jinja2>=2.3->Sphinx>=1.0->sphinxcontrib- contentui) (1.1.1) Requirement already satisfied: pytz>=0a in ./my-temp-venv/lib/python3.6/site -packages (from babel!=2.0,>=1.3->Sphinx>=1.0->sphinxcontrib-contentui) ( 2018.9) Requirement already satisfied: six in ./my-temp-venv/lib/python3.6/site-packages (from packaging->Sphinx>=1.0->sphinxcontrib-contentui) (1.12.0) Requirement already satisfied: pyparsing>=2.0.2 in ./my-temp-venv/lib/ python3.6/site-packages (from packaging->Sphinx>=1.0->sphinxcontrib- contentui) (2.4.0) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./my-temp-venv/lib/ python3.6/site-packages (from requests>=2.5.0->Sphinx>=1.0->sphinxcontrib- contentui) (3.0.4) Requirement already satisfied: idna<2.9,>=2.5 in ./my-temp-venv/lib/python3. 6/site-packages (from requests>=2.5.0->Sphinx>=1.0->sphinxcontrib-contentui) (2.8) Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./my-temp-venv/lib/ python3.6/site-packages (from requests>=2.5.0->Sphinx>=1.0->sphinxcontrib- contentui) (1.24.1) Requirement already satisfied: certifi>=2017.4.17 in ./my-temp-venv/lib/ python3.6/site-packages (from requests>=2.5.0->Sphinx>=1.0->sphinxcontrib- contentui) (2019.3.9) Installing collected packages: sphinxcontrib-contentui Running setup.py install for sphinxcontrib-contentui ... done Successfully installed sphinxcontrib-contentui-0.2.2 $ pip install 'sphinxcontrib-fulltoc' Collecting sphinxcontrib-fulltoc Using cached https: //files.pythonhosted.org/packages/8e/a6/d1297db9b75650681e5429e92e13df139ee6b64303ff1b2eea4ebd32c0a9/sphinxcontrib-fulltoc-1.2.0.tar.gz Installing collected packages: sphinxcontrib-fulltoc Running setup.py install for sphinxcontrib-fulltoc ... done Successfully installed sphinxcontrib-fulltoc-1.2.0 HTH -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
