Installation von solarpi

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Hallo
ich möchte das Projekt solarpi einrichten.
(Auf einem Raspberry Pi)
https://github.com/Tafkas/solarpi
http://blog.tafkas.net/2014/11/19/solar ... c-monitor/

Da ich keine Anleitung finden konnte frage ich mal hier um Hilfe, da alles in python zum großen Teil geschrieben ist.
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

Ich habe mir das gerade mal angesehen und im Prinzip ist das kein fertiges Softwarepaket, das man nur installieren muss, sondern eher ein Baukasten.
In den Blogposts (und den Kommentaren) erklärt der Autor, was man tun muss, um das an's Laufen zu bekommen. Allerdings wirst du z. T. wohl selbst tätig werden müssen -- insb. wenn du andere Hardware verwendest. Denn im Grunde funktioniert das ja so, dass die Webapplikation "einfach nur" Daten aus einer SQLite-Datenbank liest; die müssen da irgendwie reinkommen. Wenn du seine Beispielskripte (in den Kommentaren), die per Cronjob aufgerufen werden, nicht verwenden kannst, musst du selbst welche schreiben.

Die für das Webinterface notwendigen Bibliotheken kannst du per pip install -r requirements.txt installieren (vorzugsweise in einem virtualenv)
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Ich habe ja die gleiche Hardware.
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-iDDD1X/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file __).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-wywsj2-record/install-record.txt --single-version-externally-managed --compi le failed with error code 1 in /tmp/pip-build-iDDD1X/bcrypt
Storing debug log for failure in /home/pi/.pip/pip.log

Habe ich nach dem pip install -r requirements/prod.txt.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Bei :
https://gist.github.com/Tafkas/673a56d8 ... 8d535c88c8


Python 2.7.9 (default, Mar 8 2015, 00:52:26)
[GCC 4.9.2] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>

Traceback (most recent call last):
File "/home/pi/Downloads/collect_kostal.py", line 93, in <module>
main()
File "/home/pi/Downloads/collect_kostal.py", line 87, in main
data = get_data()
File "/home/pi/Downloads/collect_kostal.py", line 54, in get_data
dc_i_3 = data[13]
IndexError: list index out of range
>>>
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

Aus deinen etwas kurzen Beiträgen lässt sich (für mich) schwer herauslesen, was da schief läuft, aber möglich wäre, dass dir zum kompilieren von bcrypt bestimmte Header fehlen. Die kannst du üblicherweise über den Paketmanager deiner Distribution installieren.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Das andere Problem konnte ich schon lösen.

Jetzt habe ich mal manage.py db upgrade gemacht und erhalte:
pi@raspberrypi:~/Downloads/solarpi-master $ python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 9, in <module>
from solarpi.app import create_app
File "/home/pi/Downloads/solarpi-master/solarpi/app.py", line 5, in <module>
from solarpi.settings import ProdConfig
File "/home/pi/Downloads/solarpi-master/solarpi/settings.py", line 7, in <module>
class Config(object):
File "/home/pi/Downloads/solarpi-master/solarpi/settings.py", line 8, in Config
SECRET_KEY = os_env['SOLARPI_SECRET']
File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'SOLARPI_SECRET'
BlackJack

@rothlive: Offenbar wird eine Umgebungsvariable SOLARPI_SECRET erwartet und nicht gefunden. Hast Du die denn gesetzt?
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

rothlive hat geschrieben:Das andere Problem konnte ich schon lösen.

Jetzt habe ich mal manage.py db upgrade gemacht und erhalte:
pi@raspberrypi:~/Downloads/solarpi-master $ python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 9, in <module>
from solarpi.app import create_app
File "/home/pi/Downloads/solarpi-master/solarpi/app.py", line 5, in <module>
from solarpi.settings import ProdConfig
File "/home/pi/Downloads/solarpi-master/solarpi/settings.py", line 7, in <module>
class Config(object):
File "/home/pi/Downloads/solarpi-master/solarpi/settings.py", line 8, in Config
SECRET_KEY = os_env['SOLARPI_SECRET']
File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'SOLARPI_SECRET'
Das ist u.a was ich mit selbst tätig werden meinte ;) Aus settings.py geht hervor, dass SOLARPI_SECRET eine Umgebungsvariable ist, die gesetzt sein muss (EDIT: wie BlackJack auch schon schrieb) und in einem Konfigurationsobjekt hinterlegt wird, das dann Flask übergeben bekommt. S.a.:
http://flask.pocoo.org/docs/0.10/quickstart/#sessions
http://flask.pocoo.org/docs/0.10/config/
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Ok danke das hilft schon mal sehr weiter.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Könnte einer von euch mir vieleicht genauer sagen wie ich die Umgebungsvariable setzen muss.
Oder gar wie genau so eine Installation zu erledigen ist.
Ich komme da nicht weiter.
Diese Anleitungen wie man flesk startet und eine Hello World Datei erstellt gibt es genug.
Und nur so weit komme ich.
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

rothlive hat geschrieben:Könnte einer von euch mir vieleicht genauer sagen wie ich die Umgebungsvariable setzen muss.
Oder gar wie genau so eine Installation zu erledigen ist.
Ich komme da nicht weiter.
Diese Anleitungen wie man flesk startet und eine Hello World Datei erstellt gibt es genug.
Und nur so weit komme ich.
Mit Flask musst du dich eigentlich nicht befassen. Ich hatte das nur verlinkt, um zu erklären, wo das her kommt und wozu das gut ist. Die Umgebungsvariable setzt du entweder mit den Mitteln deines Betriebssystems (z.B. SOLARPI_SECRET='test' python manage.py), oder halt in der Settings.py selbst, indem du die Zeile entsprechend anpasst. Allerdings läuft Solarpi auch danach noch nicht, weil irgendeine 'migrations/env.py' * fehlt; weiter habe ich dann auch nicht mehr geschaut. Dieses Solarpi ist wie gesagt schlecht dokumentierte Software; ohne Kenntnis der verwendeten Technik, wird es sehr schwer, das ans Laufen zu bekommen.

* siehe https://flask-migrate.readthedocs.io/en/latest/und http://blog.miguelgrinberg.com/post/fla ... -for-flask
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

Hier mal ein Anfang:

Code: Alles auswählen

$ mkdir solarpi_venv
$ cd solarpi_venv
$ virtualenv2 .
$ git clone https://github.com/Tafkas/solarpi.git
$ source bin/activate
(solarpi) $ pip install -r solarpi/requirements/dev.txt
(solarpi) $ cp lib/python2.7/site-packages/alembic/templates/generic/env.py solarpi/migrations/
(solarpi) $ cd solarpi/
(solarpi) $ SOLARPI_SECRET='test' python manage.py db upgrade
Vor dem letzten Schritt muss du in migrations/alembic.ini unter [alembic] folgendes hinzufügen
sqlalchemy.url = sqlite:///dev.db
(Entwicklungsmkodus)

oder

sqlalchemy.url = sqlite:///prod.db
(für produktive Verwendung; Standardmäßig wird der Entwicklungsmodus verwendet,
umschalten geht mit der Umgebungsvariable SOLARPI_ENV)

Das ist ein Workaround und wohl nicht ursprüngliche Vorgehensweise des Autors.

Als nächstes muss man dafür sorgen, dass die Datenbank nicht leer ist.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Danke für die Hilfe.
Leider komme ich schon bei virtualenv2 . nicht weiter.
Es kommt :
-bash: virtualenv2: Kommando nicht gefunden.

virtualenv . scheint zu gehen.

cp lib/python2.7/site-packages/alembic/templates/generic/env.py solarpi/migrations/

den Ordner alembic gibt es nicht.
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

rothlive hat geschrieben: cp lib/python2.7/site-packages/alembic/templates/generic/env.py solarpi/migrations/

den Ordner alembic gibt es nicht.
Na ja, diese Dinge sind exemplarisch; du musst sie natürlich an die Gegebenheiten deines Betriebssystems anpassen. Bei mir ist es halt virtualenv2, weil Python 3 der Default ist, solarpi aber Python 2 benötigt. Wenn es den Pfad lib/python2.7/… in dem Verzeichnis, in dem du virtualenv und anschließend erfolgreich pip install ausgeführt hast nicht gibt, wird es einen anderen, äquivalenten geben. Die Verwendung von Virtualenv ist nicht zwingend notwendig, aber m.M.n. anzuraten.
Zuletzt geändert von nezzcarth am Sonntag 26. Juni 2016, 21:02, insgesamt 1-mal geändert.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Doch lib/python2.7/ gibt es aber das alembic in site-packages fehlt.
Wo bekommt man das her ?
Python 2.7.9 ist installiert.

Oder ist das ein Fehler und ich sollte mal den Pi neu installiern ?
Zuletzt geändert von rothlive am Sonntag 26. Juni 2016, 21:14, insgesamt 1-mal geändert.
nezzcarth
User
Beiträge: 1633
Registriert: Samstag 16. April 2011, 12:47

Doch lib/python2.7/ gibt es aber das alembic in site-packages fehlt.
Das habe ich schon verstanden, daher die drei Punkte. :)
Alembic sollte nach

Code: Alles auswählen

$ source bin/activate
(solarpi) $ pip install -r solarpi/requirements/dev.txt
vorhanden sein, also wenn du die requirements installiert hast. Wenn nicht, musst du mal schauen, was da bei dir schief gelaufen ist und es notfalls händisch per pip installieren.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

pip install --upgrade pip alembic
Fehlte.
Es war zwar installiert aber funktionierte nicht.

Ob jetzt dann das programm funktioniert muss ich noch testen.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

(solarpi_venv) admin@linux-7rmh:~/solarpi_venv/solarpi> sudo SOLARPI_SECRET='test' python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 6, in <module>
from flask.ext.script import Manager, Shell, Server
ImportError: No module named flask.ext.script


Die Zeile ist :
from flask.ext.script import Manager, Shell, Server
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Ach es sind weitere Abhängigkeiten.
Ich glaub ich werde alles nochmal neu installiern.
rothlive
User
Beiträge: 15
Registriert: Samstag 21. Mai 2016, 19:55

Code: Alles auswählen

pi@raspberrypi:~/solarpi_venv $ sudo pip install virtualenvwrapper
Downloading/unpacking virtualenvwrapper
  Downloading virtualenvwrapper-4.7.1-py2.py3-none-any.whl
Downloading/unpacking stevedore (from virtualenvwrapper)
  Downloading stevedore-1.15.0-py2.py3-none-any.whl
Downloading/unpacking virtualenv-clone (from virtualenvwrapper)
  Downloading virtualenv-clone-0.2.6.tar.gz
  Running setup.py (path:/tmp/pip-build-mhWZFq/virtualenv-clone/setup.py) egg_info for package virtualenv-clone

Downloading/unpacking virtualenv (from virtualenvwrapper)
  Downloading virtualenv-15.0.2-py2.py3-none-any.whl (1.8MB): 1.8MB downloaded
Downloading/unpacking six>=1.9.0 (from stevedore->virtualenvwrapper)
  Downloading six-1.10.0-py2.py3-none-any.whl
Downloading/unpacking pbr>=1.6 (from stevedore->virtualenvwrapper)
  Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB): 96kB downloaded
Installing collected packages: virtualenvwrapper, stevedore, virtualenv-clone, virtualenv, six, pbr
  Running setup.py install for virtualenv-clone

    Installing virtualenv-clone script to /usr/local/bin
  Found existing installation: six 1.8.0
    Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed virtualenvwrapper stevedore virtualenv-clone virtualenv six pbr
Cleaning up...
pi@raspberrypi:~/solarpi_venv $ virtualenv2 .
-bash: virtualenv2: Kommando nicht gefunden.
pi@raspberrypi:~/solarpi_venv $ virtualenv .
New python executable in /home/pi/solarpi_venv/bin/python
Installing setuptools, pip, wheel...done.
pi@raspberrypi:~/solarpi_venv $ git clone https://github.com/Tafkas/solarpi.git
Klone nach 'solarpi'...
remote: Counting objects: 1743, done.
remote: Total 1743 (delta 0), reused 0 (delta 0), pack-reused 1743
Empfange Objekte: 100% (1743/1743), 1.31 MiB | 778.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (1058/1058), Fertig.
Prüfe Konnektivität... Fertig.
pi@raspberrypi:~/solarpi_venv $ source bin/activate
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pip install -r solarpi/requirements/prod.txt
Collecting Flask==0.10.1 (from -r solarpi/requirements/prod.txt (line 4))
  Downloading Flask-0.10.1.tar.gz (544kB)
    100% |████████████████████████████████| 552kB 295kB/s
Collecting MarkupSafe==0.23 (from -r solarpi/requirements/prod.txt (line 5))
  Downloading MarkupSafe-0.23.tar.gz
Collecting Werkzeug==0.11.9 (from -r solarpi/requirements/prod.txt (line 6))
  Downloading Werkzeug-0.11.9-py2.py3-none-any.whl (306kB)
    100% |████████████████████████████████| 307kB 562kB/s
Collecting Jinja2==2.8 (from -r solarpi/requirements/prod.txt (line 7))
  Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
    100% |████████████████████████████████| 266kB 751kB/s
Collecting itsdangerous==0.24 (from -r solarpi/requirements/prod.txt (line 8))
  Downloading itsdangerous-0.24.tar.gz (46kB)
    100% |████████████████████████████████| 51kB 1.7MB/s
Collecting Flask-SQLAlchemy==2.1 (from -r solarpi/requirements/prod.txt (line 11))
  Downloading Flask-SQLAlchemy-2.1.tar.gz (95kB)
    100% |████████████████████████████████| 102kB 1.1MB/s
Collecting SQLAlchemy==1.0.13 (from -r solarpi/requirements/prod.txt (line 12))
  Downloading SQLAlchemy-1.0.13.tar.gz (4.8MB)
    100% |████████████████████████████████| 4.8MB 52kB/s
Collecting Flask-Migrate==1.8.0 (from -r solarpi/requirements/prod.txt (line 15))
  Downloading Flask-Migrate-1.8.0.tar.gz
Collecting Flask-WTF==0.12 (from -r solarpi/requirements/prod.txt (line 18))
  Downloading Flask_WTF-0.12-py2-none-any.whl
Collecting WTForms==2.1 (from -r solarpi/requirements/prod.txt (line 19))
  Downloading WTForms-2.1.zip (553kB)
    100% |████████████████████████████████| 563kB 379kB/s
Collecting gunicorn>=19.5 (from -r solarpi/requirements/prod.txt (line 22))
  Downloading gunicorn-19.6.0-py2.py3-none-any.whl (114kB)
    100% |████████████████████████████████| 122kB 877kB/s
Requirement already satisfied (use --upgrade to upgrade): wsgiref>=0.1.2 in /usr/lib/python2.7 (from -r solarpi/requirements/prod.txt (line 23))
Collecting Flask-Assets==0.11 (from -r solarpi/requirements/prod.txt (line 26))
  Downloading Flask-Assets-0.11.tar.gz
Collecting cssmin>=0.2.0 (from -r solarpi/requirements/prod.txt (line 27))
  Downloading cssmin-0.2.0.tar.gz
Collecting jsmin>=2.2.1 (from -r solarpi/requirements/prod.txt (line 28))
  Downloading jsmin-2.2.1.tar.gz
Collecting Flask-Login==0.2.11 (from -r solarpi/requirements/prod.txt (line 31))
  Downloading Flask-Login-0.2.11.tar.gz
Collecting Flask-Bcrypt==0.7.1 (from -r solarpi/requirements/prod.txt (line 32))
  Downloading Flask-Bcrypt-0.7.1.tar.gz
Collecting Flask-Cache>=0.13.1 (from -r solarpi/requirements/prod.txt (line 35))
  Downloading Flask-Cache-0.13.1.tar.gz (45kB)
    100% |████████████████████████████████| 51kB 1.4MB/s
Collecting Pysolar>=0.7 (from -r solarpi/requirements/prod.txt (line 38))
  Downloading pysolar-0.7.tar.gz
Collecting pytz>=2016.4 (from -r solarpi/requirements/prod.txt (line 41))
  Downloading pytz-2016.4-py2.py3-none-any.whl (480kB)
    100% |████████████████████████████████| 481kB 435kB/s
Collecting python-dateutil>=2.5.3 (from -r solarpi/requirements/prod.txt (line 43))
  Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB)
    100% |████████████████████████████████| 204kB 728kB/s
Collecting alembic>=0.6 (from Flask-Migrate==1.8.0->-r solarpi/requirements/prod.txt (line 15))
  Downloading alembic-0.8.6.tar.gz (961kB)
    100% |████████████████████████████████| 962kB 214kB/s
Collecting Flask-Script>=0.6 (from Flask-Migrate==1.8.0->-r solarpi/requirements/prod.txt (line 15))
  Downloading Flask-Script-2.0.5.tar.gz (42kB)
    100% |████████████████████████████████| 51kB 2.0MB/s
Collecting webassets>=0.11 (from Flask-Assets==0.11->-r solarpi/requirements/prod.txt (line 26))
  Downloading webassets-0.11.1.tar.gz (171kB)
    100% |████████████████████████████████| 174kB 893kB/s
Collecting bcrypt (from Flask-Bcrypt==0.7.1->-r solarpi/requirements/prod.txt (line 32))
  Downloading bcrypt-3.1.0.tar.gz (40kB)
    100% |████████████████████████████████| 40kB 1.3MB/s
Collecting six>=1.5 (from python-dateutil>=2.5.3->-r solarpi/requirements/prod.txt (line 43))
  Downloading six-1.10.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==1.8.0->-r solarpi/requirements/prod.txt (line 15))
  Downloading Mako-1.0.4.tar.gz (574kB)
    100% |████████████████████████████████| 583kB 361kB/s
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==1.8.0->-r solarpi/requirements/prod.txt (line 15))
  Downloading python-editor-1.0.1.tar.gz
Collecting cffi>=1.1 (from bcrypt->Flask-Bcrypt==0.7.1->-r solarpi/requirements/prod.txt (line 32))
  Downloading cffi-1.7.0.tar.gz (400kB)
    100% |████████████████████████████████| 409kB 77kB/s
Collecting pycparser (from cffi>=1.1->bcrypt->Flask-Bcrypt==0.7.1->-r solarpi/requirements/prod.txt (line 32))
  Downloading pycparser-2.14.tar.gz (223kB)
    100% |████████████████████████████████| 225kB 693kB/s
Building wheels for collected packages: Flask, MarkupSafe, itsdangerous, Flask-SQLAlchemy, SQLAlchemy, Flask-Migrate, WTForms, Flask-Assets, cssmin, jsmin, Flask-Login, Flask-Bcrypt, Flask-Cache, Pysolar, alembic, Flask-Script, webassets, bcrypt, Mako, python-editor, cffi, pycparser
  Running setup.py bdist_wheel for Flask ... done
  Stored in directory: /home/pi/.cache/pip/wheels/b6/09/65/5fcf16f74f334a215447c26769e291c41883862fe0dc7c1430
  Running setup.py bdist_wheel for MarkupSafe ... done
  Stored in directory: /home/pi/.cache/pip/wheels/a3/fa/dc/0198eed9ad95489b8a4f45d14dd5d2aee3f8984e46862c5748
  Running setup.py bdist_wheel for itsdangerous ... done
  Stored in directory: /home/pi/.cache/pip/wheels/fc/a8/66/24d655233c757e178d45dea2de22a04c6d92766abfb741129a
  Running setup.py bdist_wheel for Flask-SQLAlchemy ... done
  Stored in directory: /home/pi/.cache/pip/wheels/cf/9f/1b/390c152e645c6e300fda9ed9c678c6e22717a3020fd02acb4d
  Running setup.py bdist_wheel for SQLAlchemy ... done
  Stored in directory: /home/pi/.cache/pip/wheels/2c/f6/27/f2a961a1c2f8e148a566c23a3bf795f81c407309da3c691fb0
  Running setup.py bdist_wheel for Flask-Migrate ... done
  Stored in directory: /home/pi/.cache/pip/wheels/8d/8a/fe/7095af905ec6c4185e08b70064566231766c9e58627f9685e3
  Running setup.py bdist_wheel for WTForms ... done
  Stored in directory: /home/pi/.cache/pip/wheels/36/35/f3/7452cd24daeeaa5ec5b2ea13755316abc94e4e7702de29ba94
  Running setup.py bdist_wheel for Flask-Assets ... done
  Stored in directory: /home/pi/.cache/pip/wheels/50/0a/f8/e12e4a824cef1a693df6eb38fc06e82defbe505900e4ea30b6
  Running setup.py bdist_wheel for cssmin ... done
  Stored in directory: /home/pi/.cache/pip/wheels/c3/79/88/647f59be446af4e9867362ca6e961cc7f218bd793fbdc351a6
  Running setup.py bdist_wheel for jsmin ... done
  Stored in directory: /home/pi/.cache/pip/wheels/72/4d/6a/49f470b6d77e2ec515e11d2ca137be0d19bff713f534b1cfc3
  Running setup.py bdist_wheel for Flask-Login ... done
  Stored in directory: /home/pi/.cache/pip/wheels/4b/58/2e/fbba562e845fb419f6157a504055275a4d1783a22ebe3124e8
  Running setup.py bdist_wheel for Flask-Bcrypt ... done
  Stored in directory: /home/pi/.cache/pip/wheels/d5/e7/b5/396663b38fada7b0b7d9698cbdfb356ed7d4718c59855b1a52
  Running setup.py bdist_wheel for Flask-Cache ... done
  Stored in directory: /home/pi/.cache/pip/wheels/d3/ea/07/db4bcd93163f4ac63974a7ce7aa15df9d45cdc9864c8232f9c
  Running setup.py bdist_wheel for Pysolar ... done
  Stored in directory: /home/pi/.cache/pip/wheels/c3/d7/df/bbf3a1022c710ccebc3925ef77536d8b88f6640d7891117338
  Running setup.py bdist_wheel for alembic ... done
  Stored in directory: /home/pi/.cache/pip/wheels/dd/ea/32/e389366a831f50505aef2220cbb08206f5354581061539ec5a
  Running setup.py bdist_wheel for Flask-Script ... done
  Stored in directory: /home/pi/.cache/pip/wheels/e2/ea/d8/8d114e46cef819f7d9879504a7f9cb2a88a479af2858223d9f
  Running setup.py bdist_wheel for webassets ... done
  Stored in directory: /home/pi/.cache/pip/wheels/39/c0/3f/16b6f18694ae65c67da857448e3542188ee3dd952ce214af58
  Running setup.py bdist_wheel for bcrypt ... error
  Complete output from command /home/pi/solarpi_venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-NnFixa/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpa8j1NKpip-wheel- --python-tag cp27:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  c/_cffi_backend.c:2:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
   #include <Python.h>
                      ^
  compilation terminated.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-NnFixa/bcrypt/setup.py", line 235, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
      _setup_distribution = dist = klass(attrs)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
      self.fetch_build_eggs(attrs['setup_requires'])
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
      replace_conflicting=True,
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
      dist = best[req.key] = env.best_match(req, ws, installer)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1092, in best_match
      return self.obtain(req, installer)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1104, in obtain
      return installer(requirement)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
      return cmd.easy_install(req)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 664, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 694, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 875, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1114, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1102, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for bcrypt
  Running setup.py clean for bcrypt
  Complete output from command /home/pi/solarpi_venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-NnFixa/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" clean --all:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  c/_cffi_backend.c:2:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
   #include <Python.h>
                      ^
  compilation terminated.
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-NnFixa/bcrypt/setup.py", line 235, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
      _setup_distribution = dist = klass(attrs)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
      self.fetch_build_eggs(attrs['setup_requires'])
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
      replace_conflicting=True,
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
      dist = best[req.key] = env.best_match(req, ws, installer)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1092, in best_match
      return self.obtain(req, installer)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1104, in obtain
      return installer(requirement)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
      return cmd.easy_install(req)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 664, in easy_install
      return self.install_item(spec, dist.location, tmpdir, deps)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 694, in install_item
      dists = self.install_eggs(spec, download, tmpdir)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 875, in install_eggs
      return self.build_and_install(setup_script, setup_base)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1114, in build_and_install
      self.run_setup(setup_script, setup_base, args)
    File "/home/pi/solarpi_venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1102, in run_setup
      raise DistutilsError("Setup script exited with %s" % (v.args[0],))
  distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed cleaning build dir for bcrypt
  Running setup.py bdist_wheel for Mako ... done
  Stored in directory: /home/pi/.cache/pip/wheels/2a/fa/9a/7030d96d3c51f433848e4cd67a353a411ba6deb5c14e150730
  Running setup.py bdist_wheel for python-editor ... done
  Stored in directory: /home/pi/.cache/pip/wheels/c2/49/ce/59657468e42b41eb86aa654650afdf5fe891822a0dc376eebe
  Running setup.py bdist_wheel for cffi ... error
  Complete output from command /home/pi/solarpi_venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-NnFixa/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmptorczKpip-wheel- --python-tag cp27:
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  Package libffi was not found in the pkg-config search path.
  Perhaps you should add the directory containing `libffi.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'libffi' found
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-2.7
  creating build/lib.linux-armv7l-2.7/cffi
  copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
  copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
  running build_ext
  building '_cffi_backend' extension
  creating build/temp.linux-armv7l-2.7
  creating build/temp.linux-armv7l-2.7/c
  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
  c/_cffi_backend.c:2:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
   #include <Python.h>
                      ^
  compilation terminated.
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for cffi
  Running setup.py clean for cffi
  Running setup.py bdist_wheel for pycparser ... done
  Stored in directory: /home/pi/.cache/pip/wheels/9b/f4/2e/d03e949a551719a1ffcb659f2c63d8444f4df12e994ce52112
Successfully built Flask MarkupSafe itsdangerous Flask-SQLAlchemy SQLAlchemy Flask-Migrate WTForms Flask-Assets cssmin jsmin Flask-Login Flask-Bcrypt Flask-Cache Pysolar alembic Flask-Script webassets Mako python-editor pycparser
Failed to build bcrypt cffi
Installing collected packages: Werkzeug, MarkupSafe, Jinja2, itsdangerous, Flask, SQLAlchemy, Flask-SQLAlchemy, Mako, python-editor, alembic, Flask-Script, Flask-Migrate, WTForms, Flask-WTF, gunicorn, webassets, Flask-Assets, cssmin, jsmin, Flask-Login, pycparser, cffi, six, bcrypt, Flask-Bcrypt, Flask-Cache, Pysolar, pytz, python-dateutil
  Running setup.py install for cffi ... error
    Complete output from command /home/pi/solarpi_venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-NnFixa/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6wG7iQ-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/solarpi_venv/include/site/python2.7/cffi:
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-2.7
    creating build/lib.linux-armv7l-2.7/cffi
    copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
    copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-2.7
    creating build/temp.linux-armv7l-2.7/c
    arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
    c/_cffi_backend.c:2:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
     #include <Python.h>
                        ^
    compilation terminated.
    error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

    ----------------------------------------
Command "/home/pi/solarpi_venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-NnFixa/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-6wG7iQ-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/solarpi_venv/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-NnFixa/cffi/
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~ $ mkdir solarpi_venv
-bash: pi@raspberrypi:~: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~ $ cd solarpi_venv
-bash: pi@raspberrypi:~: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ virtualenv2 .
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ -bash: virtualenv2: Kommando nicht gefunden.
-bash: -bash:: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ virtualenv .
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ -bash: virtualenv: Kommando nicht gefunden.
-bash: -bash:: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ export WORKON_HOME=~/.virtualenvs
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ source /usr/bin/virtualenvwrapper.sh
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ -bash: /usr/bin/virtualenvwrapper.sh: Datei oder Verzeichnis nicht gefunden
-bash: -bash:: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ sudo pip install virtualenvwrapper
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading/unpacking virtualenvwrapper
-bash: Downloading/unpacking: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading virtualenvwrapper-4.7.1-py2.py3-none-any.whl
-bash: Downloading: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading/unpacking stevedore (from virtualenvwrapper)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading stevedore-1.15.0-py2.py3-none-any.whl
-bash: Downloading: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading/unpacking virtualenv-clone (from virtualenvwrapper)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading virtualenv-clone-0.2.6.tar.gz
-bash: Downloading: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Running setup.py (path:/tmp/pip-build-mhWZFq/virtualenv-clone/setup.py) egg_info for package virtualenv-clone
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading/unpacking virtualenv (from virtualenvwrapper)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading virtualenv-15.0.2-py2.py3-none-any.whl (1.8MB): 1.8MB downloaded
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading/unpacking six>=1.9.0 (from stevedore->virtualenvwrapper)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading six-1.10.0-py2.py3-none-any.whl
-bash: Downloading: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Downloading/unpacking pbr>=1.6 (from stevedore->virtualenvwrapper)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB): 96kB downloaded
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Installing collected packages: virtualenvwrapper, stevedore, virtualenv-clone, virtualenv, six, pbr
-bash: Installing: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Running setup.py install for virtualenv-clone
-bash: Running: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $     Installing virtualenv-clone script to /usr/local/bin
-bash: Installing: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Found existing installation: six 1.8.0
-bash: Found: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $     Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
-bash: Not: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Successfully installed virtualenvwrapper stevedore virtualenv-clone virtualenv six pbr
-bash: Successfully: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Cleaning up...
-bash: Cleaning: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ virtualenv2 .
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ -bash: virtualenv2: Kommando nicht gefunden.
-bash: -bash:: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ virtualenv .
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ New python executable in /home/pi/solarpi_venv/bin/python
-bash: New: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Installing setuptools, pip, wheel...done.
-bash: Installing: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ git clone https://github.com/Tafkas/solarpi.git
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Klone nach 'solarpi'...
-bash: Klone: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ remote: Counting objects: 1743, done.
-bash: remote:: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ remote: Total 1743 (delta 0), reused 0 (delta 0), pack-reused 1743
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Empfange Objekte: 100% (1743/1743), 1.31 MiB | 778.00 KiB/s, Fertig.
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Löse Unterschiede auf: 100% (1058/1058), Fertig.
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Prüfe Konnektivität... Fertig.
-bash: Prüfe: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pi@raspberrypi:~/solarpi_venv $ source bin/activate
-bash: pi@raspberrypi:~/solarpi_venv: Datei oder Verzeichnis nicht gefunden
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ (solarpi_venv) pi@raspberrypi:~/solarpi_venv $ pip install -r solarpi/requirements/prod.txt
-bash: Syntaxfehler beim unerwarteten Wort `pi@raspberrypi:~/solarpi_venv'
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Collecting Flask==0.10.1 (from -r solarpi/requirements/prod.txt (line 4))
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading Flask-0.10.1.tar.gz (544kB)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $     100% |████████████████████████████████| 552kB 295kB/s
-bash: 552kB: Kommando nicht gefunden.
-bash: 100%: Kommando nicht gefunden.
-bash: ████████████████████████████████: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Collecting MarkupSafe==0.23 (from -r solarpi/requirements/prod.txt (line 5))
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading MarkupSafe-0.23.tar.gz
-bash: Downloading: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Collecting Werkzeug==0.11.9 (from -r solarpi/requirements/prod.txt (line 6))
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading Werkzeug-0.11.9-py2.py3-none-any.whl (306kB)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $     100% |████████████████████████████████| 307kB 562kB/s
-bash: ████████████████████████████████: Kommando nicht gefunden.
-bash: 100%: Kommando nicht gefunden.
-bash: 307kB: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Collecting Jinja2==2.8 (from -r solarpi/requirements/prod.txt (line 7))
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $     100% |████████████████████████████████| 266kB 751kB/s
-bash: 100%: Kommando nicht gefunden.
-bash: 266kB: Kommando nicht gefunden.
-bash: ████████████████████████████████: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Collecting itsdangerous==0.24 (from -r solarpi/requirements/prod.txt (line 8))
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $   Downloading itsdangerous-0.24.tar.gz (46kB)
-bash: Syntaxfehler beim unerwarteten Wort `('
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $     100% |████████████████████████████████| 51kB 1.7MB/s
-bash: 100%: Kommando nicht gefunden.
-bash: 51kB: Kommando nicht gefunden.
-bash: ████████████████████████████████: Kommando nicht gefunden.
(solarpi_venv) pi@raspberrypi:~/solarpi_venv $ Collecting Flask-SQLAlchemy==2.1 (from -r solarpi/requirements/prod.txt (line 11))
-bash: Syntaxfehler beim unerwarteten Wort `('
Antworten