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

Installation instructions for virtualenv should specify python3 #5550

Closed
jasonaowen opened this issue Mar 29, 2019 · 1 comment · Fixed by #5552
Closed

Installation instructions for virtualenv should specify python3 #5550

jasonaowen opened this issue Mar 29, 2019 · 1 comment · Fixed by #5552
Labels
Needed: documentation Documentation is required Status: stale Issue will be considered inactive soon

Comments

@jasonaowen
Copy link

Details

The installation instructions say:

Create a virtual environment and activate it:

virtualenv venv
source venv/bin/activate

On Ubuntu 18.04, the virtualenv binary provided by the virtualenv package defaults to using python2, as shown by virtualenv --help:

  -p PYTHON_EXE, --python=PYTHON_EXE
                        The Python interpreter to use, e.g.,
                        --python=python2.5 will use the python2.5 interpreter
                        to create the new environment.  The default is the
                        python2 interpreter on your path (e.g.
                        /usr/bin/python2)

However, RTD no longer works with Python 2, and the subsequent pip install step fails as a result.

Instead, I needed to run virtualenv --python=python3 venv to build a suitable virtual environment.

Expected Result

A venv into which I could install the requirements

Actual Result

A venv that used python2

@stale
Copy link

stale bot commented May 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: stale Issue will be considered inactive soon label May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: documentation Documentation is required Status: stale Issue will be considered inactive soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants