If executing:
python setup.py install
give you error like:
[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
it may be caused by outdate OpenSSL. But if after executing:
python -c "import ssl; print(ssl.OPENSSL_VERSION)"
you see something like:
OpenSSL 1.0.2n 7 Dec 2017
then your SSL is pretty good. What to do then?

1. If you are in Virtual Env mode, deactivate it
2. Remove your Virtual Env
3. Run “brew update”
4. Run “brew install openssl” just in case
5. Run “brew install python3”

Next thing is check available python versions which you can use in venv:
ls /Library/Frameworks/Python.framework/Versions/
If you will see only “3.5”, go to python.org and download newest MacOs package (currently 3.6.5) then install as usual.
After installing make you that:
ls /Library/Frameworks/Python.framework/Versions/
will show:
3.5 3.6

Now you can create new Virtual Env with forced python 3.6:
virtualenv envname --python=python3.6

Now installing packages should work.

Yesterday, after long period of API testing, new version was submitted gor review, the most important changes:

  • trakt.tv synchronization
  • switched to our own API – currently only for updating data, in next version for all operations

New API is built using Python 3.3 with Flask framework and MySql database

Today I had strange issue – I wrote some parsing code using BeautifulSoup 4.x which worked on localhost (in Windows environment), then uploaded to Appengine, and when parsing always got empty list instead of items. After hours of testing finally found that on GAE only BeautifulSoup 3.x works stable, doesn’t matters if you are using python 2.5 or 2.7.

So switched back to 3.2.1 and now got results again.