Skip to content

Instantly share code, notes, and snippets.

@bitner
Created July 14, 2016 17:58
Show Gist options
  • Save bitner/a252a00df5920213445be18d6b44d1e1 to your computer and use it in GitHub Desktop.
Save bitner/a252a00df5920213445be18d6b44d1e1 to your computer and use it in GitHub Desktop.
==> django-osgeo-importer: self.distribution.run_command(command)
==> django-osgeo-importer:
==> django-osgeo-importer: File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
==> django-osgeo-importer:
==> django-osgeo-importer: cmd_obj.run()
==> django-osgeo-importer:
==> django-osgeo-importer: File "/tmp/pip_build_root/numpy/numpy/distutils/command/build_src.py", line 147, in run
==> django-osgeo-importer:
==> django-osgeo-importer: self.build_sources()
==> django-osgeo-importer:
==> django-osgeo-importer: File "/tmp/pip_build_root/numpy/numpy/distutils/command/build_src.py", line 164, in build_sources
==> django-osgeo-importer:
==> django-osgeo-importer: self.build_extension_sources(ext)
==> django-osgeo-importer:
==> django-osgeo-importer: File "/tmp/pip_build_root/numpy/numpy/distutils/command/build_src.py", line 323, in build_extension_sources
==> django-osgeo-importer:
==> django-osgeo-importer: sources = self.generate_sources(sources, ext)
==> django-osgeo-importer:
==> django-osgeo-importer: File "/tmp/pip_build_root/numpy/numpy/distutils/command/build_src.py", line 376, in generate_sources
==> django-osgeo-importer:
==> django-osgeo-importer: source = func(extension, build_dir)
==> django-osgeo-importer:
==> django-osgeo-importer: File "numpy/core/setup.py", line 408, in generate_config_h
==> django-osgeo-importer:
==> django-osgeo-importer: moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
==> django-osgeo-importer:
==> django-osgeo-importer: File "numpy/core/setup.py", line 40, in check_types
==> django-osgeo-importer:
==> django-osgeo-importer: out = check_types(*a, **kw)
==> django-osgeo-importer:
==> django-osgeo-importer: File "numpy/core/setup.py", line 269, in check_types
==> django-osgeo-importer:
==> django-osgeo-importer: "Cannot compile 'Python.h'. Perhaps you need to "
==> django-osgeo-importer:
==> django-osgeo-importer: SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
==> django-osgeo-importer:
==> django-osgeo-importer: ----------------------------------------
==> django-osgeo-importer: Can't roll back numpy; was not uninstalled
==> django-osgeo-importer: Cleaning up...
==> django-osgeo-importer: Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-gbiiVQ-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/numpy
==> django-osgeo-importer: Traceback (most recent call last):
==> django-osgeo-importer: File "/usr/bin/pip", line 9, in <module>
==> django-osgeo-importer: load_entry_point('pip==1.5.4', 'console_scripts', 'pip')()
==> django-osgeo-importer: File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 235, in main
==> django-osgeo-importer: return command.main(cmd_args)
==> django-osgeo-importer: File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
==> django-osgeo-importer: text = '\n'.join(complete_log)
==> django-osgeo-importer: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)
==> django-osgeo-importer: Requirement already up-to-date: python-dateutil in /usr/local/lib/python2.7/dist-packages
==> django-osgeo-importer: Cleaning up...
==> django-osgeo-importer: Downloading/unpacking flake8
==> django-osgeo-importer: Downloading flake8-2.6.2-py2.py3-none-any.whl
==> django-osgeo-importer: Downloading/unpacking pyflakes>=0.8.1,!=1.2.0,!=1.2.1,!=1.2.2,<1.3 (from flake8)
==> django-osgeo-importer: Downloading/unpacking pycodestyle>=2.0,<2.1 (from flake8)
==> django-osgeo-importer: Downloading/unpacking mccabe>=0.2.1,<0.6 (from flake8)
==> django-osgeo-importer: Downloading mccabe-0.5.0-py2.py3-none-any.whl
==> django-osgeo-importer: Installing collected packages: flake8, pyflakes, pycodestyle, mccabe
==> django-osgeo-importer: Successfully installed flake8 pyflakes pycodestyle mccabe
==> django-osgeo-importer: Cleaning up...
==> django-osgeo-importer: Running provisioner: shell...
django-osgeo-importer: Running: /tmp/vagrant-shell20160714-32385-x7bkpx.sh
==> django-osgeo-importer: stdin: is not a tty
==> django-osgeo-importer: CREATE ROLE
==> django-osgeo-importer: CREATE DATABASE
==> django-osgeo-importer: ERROR: could not open extension control file "/usr/share/postgresql/9.3/extension/postgis.control": No such file or directory
==> django-osgeo-importer: ALTER ROLE
==> django-osgeo-importer: /vagrant /home/vagrant
==> django-osgeo-importer: Traceback (most recent call last):
==> django-osgeo-importer: File "manage.py", line 8, in <module>
==> django-osgeo-importer: from django.core.management import execute_from_command_line
==> django-osgeo-importer: ImportError: No module named django.core.management
==> django-osgeo-importer: Starting Geonode
==> django-osgeo-importer: /home/vagrant
==> django-osgeo-importer: Starting Geoserver
bitner@bitner-office-desktop:~/geonode/importer/django-osgeo-importer$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment