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: 
PyInstaller 2.1 is not yet compatible with Python 3.x. You'll either need to switch to Python 2.x or wait until the project is compatible with Python 3.x, You can check that on the [PyPI](https://pypi.python.org/pypi/PyInstaller) page as it should then have updated classifiers that mark it as "Python 3.x" compatible. Currently the tags are:

```
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.4
Programming Language :: Python :: 2.5
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2 :: Only

```
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)