dear all,
I have a raspberryPi configured and i follow the guide to download and install the git and other python commands like
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-dev
sudo apt-get install python-pip
sudo pip install pymodbus
sudo pip install pycrypto
sudo apt-get install libffi-dev
sudo apt-get install libssl-dev
sudo pip install cryptography
sudo apt-get install sense-hat
sudo reboot
afterwards i download the files and run
sudo python SigmaTile_SenseHat_V5.py
but i got the below error, any suggestions?
pi@raspberrypi:/home/mfg-tile $ sudo python SigmaTile_SenseHat_V5.py
Traceback (most recent call last):
File "SigmaTile_SenseHat_V5.py", line 7, in <module>
from pymodbus.server.async import StartTcpServer
File "/usr/local/lib/python2.7/dist-packages/pymodbus/server/async.py", line 19, in <module>
from pymodbus.internal.ptwisted import InstallManagementConsole
File "/usr/local/lib/python2.7/dist-packages/pymodbus/internal/ptwisted.py", line 7, in <module>
from twisted.conch import manhole, manhole_ssh
File "/usr/local/lib/python2.7/dist-packages/twisted/conch/manhole.py", line 19, in <module>
from twisted.conch import recvline
File "/usr/local/lib/python2.7/dist-packages/twisted/conch/recvline.py", line 15, in <module>
from twisted.conch.insults import insults, helper
File "/usr/local/lib/python2.7/dist-packages/twisted/conch/insults/helper.py", line 19, in <module>
from twisted.internet import defer, protocol, reactor
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 38, in <module>
from twisted.internet import default
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/default.py", line 56, in <module>
install = _getInstallFunction(platform)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/default.py", line 44, in _getInstallFunction
from twisted.internet.epollreactor import install
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 24, in <module>
from twisted.internet import posixbase
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 18, in <module>
from twisted.internet import error, udp, tcp
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 28, in <module>
from twisted.internet._newtls import (
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/local/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 63, in <module>
from twisted.internet._sslverify import _setAcceptableProtocols
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/_sslverify.py", line 38, in <module>
TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
i fix the problem by typing
sudo pip install --upgrade pyopenssl --ignore-installed pyOpenSSL
thanks