I want to try using Flask with Python3. I've got Python 3.4 on Ubuntu 14.04, which supposedly ships with pip included. So I tried
pip3 install flask this ends in:
Cleaning up... Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_kramer65/flask/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-i98xjzea-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_kramer65/flask Storing debug log for failure in /tmp/tmpqc3b2nu5 So I tried importing it, but to no avail:
kramer65@vps1:~/cxs$ python3 Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import flask Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'flask' I can of course download it and install using sudo python3 setup.py install it that way, but I would rather do it "the standard way" so that things are easily and more standard to setup on production machines.
Does anybody know how I can import Flask with Python3 and pip? All tips are welcome!
Error log is available in http://pastebin.com/hd6LyVFP
/tmp/tmpqc3b2nu5please.