Servo: Servo doesn't detect virtualenv?

Created on 19 Apr 2019  路  2Comments  路  Source: servo/servo

Hello, I am attempting to install Servo. I have run ./mach bootstrap, and it has completed successfully as far as I can tell. However, when I try to run ./mach run github.com, it gives me the message that Python virtualenv is not installed. Please install it prior to running mach. I have installed virtualenv using pip install virtualenv, but it still gives me the same error.

Most helpful comment

The default of pip is probably set to python3, but you need to install virtualenv for python2. Try running pip2 install virtualenv or python2 -m pip install virtualenv.

All 2 comments

The default of pip is probably set to python3, but you need to install virtualenv for python2. Try running pip2 install virtualenv or python2 -m pip install virtualenv.

This worked. Thanks.

Was this page helpful?
0 / 5 - 0 ratings