pythondotorg: Install.rst has an incorrect step

Describe the bug On https://github.com/python/pythondotorg/blob/master/docs/source/install.rst one of the step is activate the virtual environment (sound how the venv is created) but venv don’t exist.

To Reproduce

  1. Go to https://github.com/python/pythondotorg/blob/master/docs/source/install.rst
  2. Read and run:
# Go to the pythondotorg/ directory and activate the virtual environment.
$ cd ~/pythondotorg
$ . venv/bin/activate
  1. See venv does not exist: image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

The solution was set the vars ansible_python_interpreter: "/usr/bin/python3" I wil make the PR adding this vars.

I suppose that ansible check if setuptools exist for default python interpreter, and in this case (for me) python2 is default, and python2-setuptools was not installed. By the way, I think that this is an ansible bug, because the check (setuptool installed) must be with the “virtualenv_command” interpreter used