Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Dependency Update and Spring Cleaning #31

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

dschoeni
Copy link
Contributor

We have updated quite some dependencies and cleaned out stuff that wasn't working, fixing a couple of bugs in the progress (for example to process RPI3 packets!)

What needs to be done is probably to:

  • test whether the docker-compose setup works reliably
  • test whether it works together with analysis ;)

@dschoeni dschoeni requested a review from joe4dev April 23, 2018 13:21
kombu==4.0.2
msgpack-python==0.4.8
ply==3.9
psycopg2==2.6.2
Copy link

@mohbandy mohbandy Apr 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my rasp pi with a fresh Raspbian install, running manually through Dockerfile, I get the following error:

Collecting psycopg2==2.6.2 (from -r requirements.txt (line 25))
  Using cached https://files.pythonhosted.org/packages/7b/a8/dc2d50a6f37c157459cd18bab381c8e6134b9381b50fbe969997b2ae7dbc/psycopg2-2.6.2.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-mDt42U/psycopg2/

If I am going about this setup the wrong way just let me know. I know the docker-compose up -d approach doesn't work because the docker files are built for x86 and not coming from the arm32v7 repo so I figured manually was my best bet.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to get past this by installing postgres, libpq-dev, python-dev and a reboot.

Once I can get the probr-core running on my pi, I'll use a second to perform another from-scratch install and comment about what dependencies are required for a pi, probably create a pi-pre-requirements.txt or something similar

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"I was able to get past this by installing postgres, libpq-dev, python-dev and a reboot."

Thanks for sharing 👍
Great idea!

@stormdog10
Copy link

has anyone got heat map working ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants