Install Selenium for Python 3.6 (Ubuntu 17.04) -


working through book on tdd uses python 3.6 features, including formatted string, command python3 defaults 3.5 though have python 3.6 installed, returns invalid syntax error when try run unit test. on other hand, pip3 installs selenium python3.5 directory, when try run tests using 3.6, 'no module named selenium' error.

i working in virtualenv, while python3.5 shows in /home/username/.virtualenvs/projectname/lib, python3.6 not though running pip3 in virtualenv returns python3.6 newest version (3.6.1-1).

use explicit versions:

pip3.6 install selenium 

or

python3.6 -m pip install selenium 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -