Page MenuHomeSoftware Heritage
Paste P302

Problem during venv install without libsystemd-dev
ActivePublic

Authored by ardumont on Sep 25 2018, 5:35 PM.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install $( bin/pip-swh-packages )
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-core
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-model
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-objstorage
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-scheduler
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-storage
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-core
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-dir
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-indexer
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-vault
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-tar
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-journal
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-web
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-mirror-forge
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-svn
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-pypi
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-mercurial
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-git
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-loader-debian
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-lister
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-docs
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-deposit
Obtaining file:///home/tony/work/inria/repo/swh/swh-environment/swh-archiver
Collecting Flask (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91kB)
100% |████████████████████████████████| 92kB 592kB/s
Collecting PyYAML (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
100% |████████████████████████████████| 276kB 860kB/s
Collecting aiohttp (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/52/f9/c22977fc95346911d8fe507f90c3c4e4f445fdf339b750be6f03f090498d/aiohttp-3.4.4-cp36-cp36m-manylinux1_x86_64.whl (1.1MB)
100% |████████████████████████████████| 1.1MB 408kB/s
Collecting arrow (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/e0/86/4eb5228a43042e9a80fe8c84093a8a36f5db34a3767ebd5e1e7729864e7b/arrow-0.12.1.tar.gz (65kB)
100% |████████████████████████████████| 71kB 844kB/s
Collecting msgpack-python (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz (138kB)
100% |████████████████████████████████| 143kB 1.2MB/s
Collecting psycopg2 (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/5e/d0/9e2b3ed43001ebed45caf56d5bb9d44ed3ebd68e12b87845bfa7bcd46250/psycopg2-2.7.5-cp36-cp36m-manylinux1_x86_64.whl (2.7MB)
100% |████████████████████████████████| 2.7MB 416kB/s
Collecting python-dateutil (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)
100% |████████████████████████████████| 215kB 676kB/s
Collecting requests (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
100% |████████████████████████████████| 92kB 532kB/s
Collecting systemd-python (from swh.core==0.0.40.post2)
Downloading https://files.pythonhosted.org/packages/e8/a8/00ba0f605837a8f69523e6c3a4fb14675a6430c163f836540129c50b3aef/systemd-python-234.tar.gz (53kB)
100% |████████████████████████████████| 61kB 1.2MB/s
Complete output from command python setup.py egg_info:
Cannot find libsystemd or libsystemd-journal:
Package libsystemd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd' found
Package libsystemd-journal was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsystemd-journal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsystemd-journal' found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sg8hahr7/systemd-python/