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

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -