I want to install cx_Freeze for Python 3. My Ubuntu 14.04 has Python 2.7 and Python 3.4. For Python 2 I could install cx_Freeze very conveniently using:
sudo apt install cx-freeze
However this only installs cx-freeze for Python 2 not for Python 3. Also the officialy cx_Freeze website does not contain installation hints. I'm not very firm in building software from scratch. I also tried pip3
(version 1.5.5) but to no avail:
pip3 install cx-freeze
could not find any downloads that satisfy the requirement
Therefore the question(s):
Is there a simple (one line) way to install cx_Freeze for Python 3?
If not, can someone guide me step by step through the most simple alternative please?
edit: Following the answer by Dumindu Mahawela I got the following output:
Selecting previously unselected package cx-freeze-python3.
(Reading database ... 163736 files and directories currently installed.)
Preparing to unpack cx-freeze-python3_4.3-0ubuntu0px0pre2_amd64.deb ...
Unpacking cx-freeze-python3 (4.3-0ubuntu0px0pre2) ...
dpkg: dependency problems prevent configuration of cx-freeze-python3:
cx-freeze-python3 depends on libpython3.2 (>= 3.2~a4); however:
Package libpython3.2 is not installed.
cx-freeze-python3 depends on python3 (<< 3.3); however:
Version of python3 on system is 3.4.0-0ubuntu2.
cx-freeze-python3 depends on python3.2; however:
Package python3.2 is not installed.
cx-freeze-python3 depends on cx-freeze-common; however:
Package cx-freeze-common is not installed.
dpkg: error processing package cx-freeze-python3 (--install):
dependency problems - leaving unconfigured
which probably means that the linked debian package it not for recent Ubuntu versions (python3 << 3.3 required). I don't want to go back to Python 3.2 for this.
Searching even for more complex installation advices I found nothing that didn't have some problem or another. It might be that cx_Freeze is currently not very well supporting Python versions >= 3.3 on Ubuntu. If that's the case I would just move on and try something different. Thanks for all efforts to help!
sudo pip3 install setuptools
followed by:sudo pip3 install cx_Freeze
worked for me!? The command:cxfreeze-quickstart
can then be used.