Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create virtualenv, $READTHEDOCS_VIRTUALENV_PATH appears to be empty #10207

Closed
EricR86 opened this issue Mar 28, 2023 · 1 comment
Closed

Comments

@EricR86
Copy link

EricR86 commented Mar 28, 2023

Details

Expected Result

The build to continue, and in this case the virtual environment to be created. I'm willing to concede that I might be configuring things wrong so I've attached my yaml file below. Namely my python project needs to be installed for the docs to generate. To do so I need a conda environment and to be able to run a command (a make with a specific rule) post-install to generate additional text included in the .rst files.

Actual Result

On the command: python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH
The following error is produced: virtualenv: error: the following arguments are required: dest

.readthedocs.yaml reference:

version: 2

conda:
  environment: environment.yml

# Required for project building and versioning
python:
   install:
      - method: pip
        path: .

build:
  os: ubuntu-22.04
  tools:
    python: "3.8"
  jobs:
    post_install:
      - make -C doc cmdline-help

# Build documentation in the docs/ directory with Sphinx
sphinx:
  configuration: doc/conf.py

Thanks for your time and consideration.

@humitos
Copy link
Member

humitos commented Mar 29, 2023

Hi! This is duplicate of #10047. Take a look there to find out the solution. Thanks.

@humitos humitos closed this as completed Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants