Tag Archives: python

nikola python static site generator

nikola python static site generator


python 2 pip and python 3 pip wierdness

python 2 pip and python 3 pip wierdness bizarrely if you run

# aptitude install python3-pip
# pip3 install --upgrade pip

you will end up with the following files

# ls -l /usr/local/bin/
total 24
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3.5

and so bizarrely if you type pip it will now run pip3 !



python 2 and python 3 packages

python 2 and python 3 packages seem to be installed all over the place


  • /usr/local/lib/python2.7/dist-packages/
  • /usr/local/lib/python2.7/site-packages/
  • /usr/local/lib/python3.5/dist-packages/
  • /usr/local/lib/python3.5/site-packages/


  • /usr/lib/python2.6/
  • /usr/lib/python2.7/
  • /usr/lib/python3/
  • /usr/lib/python3.5/


  • .local/lib/python2.7/dist-packages/
  • .local/lib/python2.7/site-packages/
  • .local/lib/python3.5/dist-packages/
  • .local/lib/python3.5/site-packages/


a very nasty python2 python3 hack

i did have a very nasty python 2 to python 3 hack to get the eclipse ide nokia/RED robot framework editor to work with python 3 but theres a better version below

$ cd ~
$ mkdir eclipse-red
$ ln -s /usr/bin/python3 eclipse-red/python

after you have created your symlink run eclipse

  • and goto Window → Preferences → Robot Framework → Installed frameworks → Add 
  • and if you are lucky nokia/RED should find Robot Framework 3.0.2 (Python 3.5.2 on linux) instead of the python 2 version

how to use eclipse ide and nokia red with python 3

windows 10 python 3 robotframework 3 webdrivers

windows 10 python 3 robotframework 3 seleniumlibrary webdrivers for web testing

install python

  • install python (see https://goo.gl/y36JcN)
  • pip install robotframework
  • pip install robotframework-seleniumlibrary

install browsers

  • download and install browsers (chrome, edge, firefox)

download drivers

install webdrivers

  • unzip webdrivers
  • move exes to a folder in your windows PATH

such as


then you can run python robot

C:\Users\MYUSERNAME> python -m robot mytests.robot


free python resources from @sitepoint

free python resources from @sitepoint