Question: The pyInstaller.org website appears to be down while I make this post.

I'm trying to installer pyInstaller for python3. I've tried both:

"c:\python34\scripts\easy\_install.exe" pyInstaller
"c:\python34\scripts\pip.exe" install pyInstaller

but both give:

```
PyInstaller\compat.py", line 129
    if sys.maxint > 2L ** 32:
                     ^
SyntaxError: invalid syntax

```

Works fine for python27 Is pyInstaller not compatible with python3? If not, how should I make a standalone app of my pyqt5 scripts for windows?

Answer: 
An [experimental branch on GitHub](https://github.com/pyinstaller/pyinstaller/tree/python3) has been published that works with Python 3.

Just download or clone that and run.

Alternatively, [use this fork](https://github.com/zeyon/pyinstaller/tree/python3), which fixes some bugs, e.g. `--version-file=...` support and PyQt5 multimedia support and print services.
Pyinstaller is compatible with python 3 but it should be instaled specifically for that version, the easy way is like this (windows/linux):

```
pip3 install pyinstaller

```

Put it in a CMD (windows) or in a terminal (linux). Note the `pip3`.
the python installation directory must be in the PATH enviroment variable for both (linux /windows) to be able to use pip.

An easy way toget python libs in the PATH variable is checking the box shown below at the installer. 

[![enter image description here](https://i.stack.imgur.com/fBe4p.jpg)](https://i.stack.imgur.com/fBe4p.jpg)