question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue to install on ubuntu 14.04

See original GitHub issue
Welcome to Lektor

This script will install Lektor on your computer.

  bin: /usr/local/bin
  app: /usr/local/lib/lektor

Continue? [Yn] y
New python executable in /usr/local/lib/lektor/bin/python
Installing setuptools, pip, wheel...done.
Collecting Lektor
/usr/local/lib/lektor/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading Lektor-1.0-py2-none-any.whl (1.9MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.9MB 99kB/s 
Collecting Babel (from Lektor)
  Downloading Babel-2.1.1-py2.py3-none-any.whl (3.6MB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3.6MB 95kB/s 
Collecting setuptools (from Lektor)
  Downloading setuptools-19.1.1-py2.py3-none-any.whl (463kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 466kB 160kB/s 
Collecting Flask (from Lektor)
  Downloading Flask-0.10.1.tar.gz (544kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 544kB 108kB/s 
Collecting inifile (from Lektor)
  Downloading inifile-0.2-py2-none-any.whl
Collecting mistune (from Lektor)
  Downloading mistune-0.7.1-py2.py3-none-any.whl
Collecting click>=6.0 (from Lektor)
  Downloading click-6.2-py2.py3-none-any.whl (70kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 73kB 338kB/s 
Collecting EXIFRead (from Lektor)
  Downloading ExifRead-2.1.2-py2-none-any.whl (47kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 49kB 134kB/s 
Collecting watchdog (from Lektor)
  Downloading watchdog-0.8.3.tar.gz (83kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 86kB 122kB/s 
Requirement already up-to-date: pip in /usr/local/lib/lektor/lib/python2.7/site-packages (from Lektor)
Collecting Jinja2>=2.4 (from Lektor)
  Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 266kB 121kB/s 
Collecting pytz>=0a (from Babel->Lektor)
  Downloading pytz-2015.7-py2.py3-none-any.whl (476kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 479kB 117kB/s 
Collecting Werkzeug>=0.7 (from Flask->Lektor)
  Downloading Werkzeug-0.11.3-py2.py3-none-any.whl (305kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 307kB 915kB/s 
Collecting itsdangerous>=0.21 (from Flask->Lektor)
  Downloading itsdangerous-0.24.tar.gz (46kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 49kB 138kB/s 
Collecting PyYAML>=3.10 (from watchdog->Lektor)
  Downloading PyYAML-3.11.tar.gz (248kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 249kB 1.8MB/s 
Collecting argh>=0.24.1 (from watchdog->Lektor)
  Downloading argh-0.26.1.tar.gz
Collecting pathtools>=0.1.1 (from watchdog->Lektor)
  Downloading pathtools-0.1.2.tar.gz
Collecting MarkupSafe (from Jinja2>=2.4->Lektor)
  Downloading MarkupSafe-0.23.tar.gz
Building wheels for collected packages: Flask, watchdog, itsdangerous, PyYAML, argh, pathtools, MarkupSafe
  Running setup.py bdist_wheel for Flask
  Stored in directory: /root/.cache/pip/wheels/d2/db/61/cb9b80526b8f3ba89248ec0a29d6da1bb6013681c930fca987
  Running setup.py bdist_wheel for watchdog
  Stored in directory: /root/.cache/pip/wheels/93/93/cf/e7a7eee3227b2720bc95e96fe35562c08224814a3adfe8e447
  Running setup.py bdist_wheel for itsdangerous
  Stored in directory: /root/.cache/pip/wheels/97/c0/b8/b37c320ff57e15f993ba0ac98013eee778920b4a7b3ebae3cf
  Running setup.py bdist_wheel for PyYAML
  Complete output from command /usr/local/lib/lektor/bin/python -c "import setuptools;__file__='/tmp/pip-build-EEFbyE/PyYAML/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpS09bJzpip-wheel-:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-2.7
  creating build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/tokens.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/loader.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/scanner.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/reader.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/parser.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/error.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/events.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/dumper.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/serializer.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/resolver.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/cyaml.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/composer.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/nodes.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/representer.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/__init__.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/emitter.py -> build/lib.linux-x86_64-2.7/yaml
  copying lib/yaml/constructor.py -> build/lib.linux-x86_64-2.7/yaml
  running build_ext
  creating build/temp.linux-x86_64-2.7
  checking if libyaml is compilable
  x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
  checking if libyaml is linkable
  x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-2.7/check_libyaml.o -lyaml -o build/temp.linux-x86_64-2.7/check_libyaml
  building '_yaml' extension
  creating build/temp.linux-x86_64-2.7/ext
  x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-x86_64-2.7/ext/_yaml.o
  ext/_yaml.c:8:22: fatal error: pyconfig.h: No such file or directory
   #include "pyconfig.h"
                        ^
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for PyYAML
  Running setup.py bdist_wheel for argh
  Stored in directory: /root/.cache/pip/wheels/e4/96/31/ed4151f32f78e2ebec318bc7081d65077c6c1512b561d1b263
  Running setup.py bdist_wheel for pathtools
  Stored in directory: /root/.cache/pip/wheels/97/d9/56/198cec194e02660d647417d4ad60f100fffc390fb46d243be5
  Running setup.py bdist_wheel for MarkupSafe
  Stored in directory: /root/.cache/pip/wheels/94/a7/79/f79a998b64c1281cb99fa9bbd33cfc9b8b5775f438218d17a7
Successfully built Flask watchdog itsdangerous argh pathtools MarkupSafe
Failed to build PyYAML
Installing collected packages: pytz, Babel, setuptools, Werkzeug, MarkupSafe, Jinja2, itsdangerous, Flask, inifile, mistune, click, EXIFRead, PyYAML, argh, pathtools, watchdog, Lektor
  Found existing installation: setuptools 18.2
    Uninstalling setuptools-18.2:
      Successfully uninstalled setuptools-18.2
  Running setup.py install for PyYAML
    Complete output from command /usr/local/lib/lektor/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-EEFbyE/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6fL1dX-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/lib/lektor/include/site/python2.7/PyYAML:
    running install
    running build
    running build_py
    running build_ext
    building '_yaml' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-x86_64-2.7/ext/_yaml.o
    ext/_yaml.c:8:22: fatal error: pyconfig.h: No such file or directory
     #include "pyconfig.h"
                          ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/local/lib/lektor/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-EEFbyE/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6fL1dX-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/lib/lektor/include/site/python2.7/PyYAML" failed with error code 1 in /tmp/pip-build-EEFbyE/PyYAML
/usr/local/lib/lektor/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

All done!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Siecjecommented, Dec 21, 2015
sudo apt-get install python-dev
0reactions
niijvcommented, Dec 25, 2015

Reflected in documentation now and the installer wipes upon confirmation. See https://github.com/lektor/lektor-website/commit/283fbcd8191c846812da49352f6c425f353be277

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues installing Ubuntu 14.04 LTS
Begin by going into your firmware setup utility. You typically do this by hitting Esc or a function key soon after turning on...
Read more >
How to Install Ubuntu Linux Server 14.04 LTS - TechOnTheNet
The following steps will guide you through a basic installation of Ubuntu Linux Server 14.04. The installation process will take some time to...
Read more >
Things To Do After Installing Ubuntu 14.04 & 14.10 - It's FOSS
Change software sources and update your system: First and foremost thing to do when you install Ubuntu is to change the software sources...
Read more >
10 Things to Do After Installing Ubuntu 14.04 LTS
10 Things To Do After Installing Ubuntu 14.04 LTS Β· 1. See What's New Β· 2. Local App Menus Β· 3. Install Drivers...
Read more >
I'm trying to install packages in Ubuntu 14.04 LTS but ... - Quora
I'm trying to install packages in Ubuntu 14.04 LTS but it shows me error E: Unable to correct problems, you have held broken...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found