readthedocs / readthedocs-docker-images

Docker image definitions used by Read the Docs
115 stars 70 forks source link

[Errno 13] Permission denied: '/lib/python3.7' #110

Closed ConstantinoSchillebeeckxSimpleRose closed 4 years ago

ConstantinoSchillebeeckxSimpleRose commented 4 years ago

I'm using a trial account on readthedocs.com with a private python repo building docs with Sphinx. I've got no issues building docs locally, however the build is failing on RTD.

Collecting pip
  Using cached https://files.pythonhosted.org/packages/4a/08/6ca123073af4ebc4c5488a5bc8a010ac57aa39ce4d3c8a931ad504de4185/pip-19.3-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
  Rolling back uninstall of pip
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/lib/python3.7'
Consider using the `--user` option or check the permissions.

You are using pip version 18.1, however version 19.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

My .readthedocs.yml looks like:

# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
sphinx:
  configuration: docs/source/conf.py
  builder: html
  fail_on_warning: true

python:
  version: 3.7
  install:
    - requirements: requirements.txt
    - requirements: docs/requirements.txt

My docs all live in docs/

I've tried other versions of python (3.6 & 2.7) with the same issue.

stsewd commented 4 years ago

Hi @ConstantinoSchillebeeckxSimpleRose we are already investigating the issue in your support request. We are trying to replicate this without success yet. We'll contact you for more information on the support channel. The public issues are for problems in readthedocs.org