Hi,
Is anyone having problems building the documentation? My project was working fine but today after a insignificant commit and name fix on setup.py the documentation build started to fail with the output as below.
Thanks,
Hugo
Output:
The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
You are using pip version 7.0.1, however version 7.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The directory '/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Exception:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/commands/install.py", line 291, in run
wb.build(autobuilding=True)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/wheel.py", line 704, in build
self.requirement_set.prepare_files(self.finder)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/req/req_set.py", line 317, in prepare_files
functools.partial(self._prepare_file, finder))
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/req/req_set.py", line 304, in _walk_req_to_install
more_reqs = handler(req_to_install)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/req/req_set.py", line 439, in _prepare_file
req_to_install.populate_link(finder, self.upgrade)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/req/req_install.py", line 244, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/req/req_install.py", line 256, in link
self._link = self._wheel_cache.cached_wheel(link, self.name)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/wheel.py", line 62, in cached_wheel
self._cache_dir, link, self._format_control, package_name)
File "/home/docs/checkouts/readthedocs.org/user_builds/py4syn/envs/latest/lib/python3.4/site-packages/pip/wheel.py", line 123, in cached_wheel
wheel_names = os.listdir(root)
PermissionError: [Errno 13] Permission denied: '/root/.cache/pip/wheels/c9/b4/72/4de2802cbc4bfd82f938