Manual WebApp install

General Discussion

Manual WebApp install

Postby wilsonb » Sat Jun 30, 2018 8:48 am

Following Webapp install instructions ;

results in version missmatch



Collecting pip
Downloading https://files.pythonhosted.org/packages ... ne-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 899kB/s
pyftdi 0.29.0 has requirement pyserial>=3.0, but you'll have pyserial 2.7 which is incompatible.
Installing collected packages: pip
Found existing installation: pip 8.1.1
Uninstalling pip-8.1.1:
Successfully uninstalled pip-8.1.1
Successfully installed pip-10.0.1
pi@alarmdecoder:/opt/alarmdecoder-webapp $ sudo python get-pip.pysudo pip install^C
pi@alarmdecoder:/opt/alarmdecoder-webapp $ sudo pip install PYFTDI
Requirement already satisfied: PYFTDI in /usr/local/lib/python2.7/dist-packages (0.29.0)
Requirement already satisfied: pyusb>=1.0.0 in /usr/local/lib/python2.7/dist-packages (from PYFTDI) (1.0.2)
Collecting pyserial>=3.0 (from PYFTDI)
Downloading https://files.pythonhosted.org/packages ... ne-any.whl (193kB)
100% |████████████████████████████████| 194kB 2.1MB/s
alarmdecoder 1.13.4 has requirement pyserial==2.7, but you'll have pyserial 3.4 which is incompatible.
Installing collected packages: pyserial
Found existing installation: pyserial 2.7
Uninstalling pyserial-2.7:
Successfully uninstalled pyserial-2.7
Successfully installed pyserial-3.4
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

Re: Manual WebApp install

Postby wilsonb » Sat Jun 30, 2018 8:51 am

i@alarmdecoder:/opt/alarmdecoder-webapp $ sudo python manage.py initdb
Traceback (most recent call last):
File "manage.py", line 11, in <module>
from alarmdecoder.util import NoDeviceError
File "/usr/local/lib/python2.7/dist-packages/alarmdecoder-1.13.4-py2.7.egg/alarmdecoder/__init__.py", line 3, in <module>
import alarmdecoder.devices
File "/usr/local/lib/python2.7/dist-packages/alarmdecoder-1.13.4-py2.7.egg/alarmdecoder/devices/__init__.py", line 4, in <module>
from .usb_device import USBDevice
File "/usr/local/lib/python2.7/dist-packages/alarmdecoder-1.13.4-py2.7.egg/alarmdecoder/devices/usb_device.py", line 25, in <module>
from pyftdi.ftdi import Ftdi, FtdiError
File "/usr/local/lib/python2.7/dist-packages/pyftdi/ftdi.py", line 36, in <module>
from .usbtools import UsbTools
File "/usr/local/lib/python2.7/dist-packages/pyftdi/usbtools.py", line 455
print("Available interfaces:", file=out)
^
SyntaxError: invalid syntax
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm


Return to General

Who is online

Users browsing this forum: No registered users and 26 guests

cron