I have 2 python versions installed under my mac osx sierra: python 3.5 python 2.7
I installed pyinstaller under python3.5 with this command:
python3
From Anaconda prompt the following works for me. Run the following command after navigating to the location of the module
pyinstaller --onefile mypython35script.py