You can use pip install -U beem but using the requirements.txt file is ideal as it will get all modules if I add any later.
If you are getting an error on line 50 that's because you are using Python 2 and not Python 3.
You can do a python -V to confirm.