I am trying to install cx_Freeze on Ubuntu 16.04. Pip installation does not work, so I have downloaded a tarball (tar.gz), extracted it and moved the cx_Freeze folder to my home directory.
I have navigated to the cx_freeze folder and used this command:
sudo python setup.py build
sudo python setup.py install
error: [Errno 2] No such file or directory: 'samples'
J.J. Hakala's suggestion to install the newest version of cx_freeze with pip, as well as him providing the correct link to the source, made it possible for me to install cx_freeze with the code he posted in his comment:
sudo pip install https://bitbucket.org/anthony_tuininga/cx_freeze/get/tip.tar.bz2
I'm posting the solution as an answer here since he left a comment, but if he wants to post the solution as an answer himself, I'll mark that answer as the one that solved the problem.