Closed meilon closed 3 years ago
Same here.
Same here in a Python 2.7 virtualenv on macOS.
Not even version 1.1
is installable
I get the following error:
Collecting sphinxcontrib-fulltoc==1.2.0 (from -r requirements.txt (line 5))
Using cached sphinxcontrib-fulltoc-1.2.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\Python36\lib\site-packages\setuptools\__init__.py", line 10, in <module>
from setuptools.extern.six.moves import filter, filterfalse, map
File "C:\Program Files\Python36\lib\site-packages\setuptools\extern\__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 3017, in <module>
@_call_aside
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 3045, in _initialize_master_working_set
dist.activate(replace=False)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 2577, in activate
declare_namespace(pkg)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 2151, in declare_namespace
_handle_ns(packageName, path_item)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 2091, in _handle_ns
_rebuild_mod_path(path, packageName, module)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources\__init__.py", line 2120, in _rebuild_mod_path
orig_path.sort(key=position_in_sys_path)
AttributeError: '_NamespacePath' object has no attribute 'sort'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\xxx\AppData\Local\Temp\pip-build-12w2_kx2\sphinxcontrib-fulltoc\
I found a workaround: If you pip install pbr
before you pip install sphinxcontrib-fulltoc
, the latter actually installs and works fine
thanks @meilon !
This fails with vanilla python 3.6. Installing pbr beforehand, didn't seem to help. Same stack trace.
I'm not seeing this with python 3.8, pbr has moved on a lot so unlikely to hit the original cause these days which was due to a broken pbr 3.1.1. There maybe other broken versions, so if it occurs again please report.
Hi,
I just added sphixcontrib-fulltoc to my documentation build process. While the install worked great on my Windows desktop, it wont install in an alpine docker container
Why won't it install?