You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code is used in the install.sh script: SOFT = $ (pip search rpi-ws281x | grep "INSTALLED")
which, however, is currently failing due to a failure on the part of PyPI's search backends, pls. see the error listing below.
I suggest using this code instead. SOFT = $ (pip list | grep "rpi-ws281x")
Or better yet, replace pip call with pip3 everywhere, which solves incorrect include when running other scripts using python3, especially in smartups.service.
SOFT = $ (pip3 list | grep "rpi-ws281x")
if [ -z "$SOFT" ]; then
pip3 install rpi-ws281x
Contents of the message when trying to install:
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/search.py", line 48, in run
pypi_hits = self.search(query, options)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/search.py", line 65, in search
hits = pypi.search({'name': query, 'summary': query}, 'or')
File "/usr/lib/python3.7/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.7/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/usr/lib/python3/dist-packages/pip/_internal/download.py", line 791, in request
return self.parse_response(response.raw)
File "/usr/lib/python3.7/xmlrpc/client.py", line 1342, in parse_response
return u.close()
File "/usr/lib/python3.7/xmlrpc/client.py", line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: "RuntimeError: PyPI's XMLRPC API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.">
The text was updated successfully, but these errors were encountered:
pi@basiliscus:~/ups3 $ sudo ./install.sh
Install Smart UPS Service.
dpkg-query: no se ha encontrado ningún paquete que corresponda con scons.
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/_internal/cli/base_command.py", line 143, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/_internal/commands/search.py", line 48, in run
pypi_hits = self.search(query, options)
File "/usr/lib/python2.7/dist-packages/pip/_internal/commands/search.py", line 65, in search
hits = pypi.search({'name': query, 'summary': query}, 'or')
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/dist-packages/pip/_internal/download.py", line 791, in request
return self.parse_response(response.raw)
File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
raise Fault(**self._stack[0])
Fault: <Fault -32500: "RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.">
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: rpi-ws281x in /usr/local/lib/python2.7/dist-packages (4.2.5)
rpi-ws281x install complete!
Service has been enabled.
Start service now.
Warning: The unit file, source configuration file or drop-ins of smartups.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Service successfully installed.
The following code is used in the install.sh script:
SOFT = $ (pip search rpi-ws281x | grep "INSTALLED")
which, however, is currently failing due to a failure on the part of PyPI's search backends, pls. see the error listing below.
I suggest using this code instead.
SOFT = $ (pip list | grep "rpi-ws281x")
Or better yet, replace
pip
call withpip3
everywhere, which solves incorrect include when running other scripts using python3, especially insmartups.service
.Contents of the message when trying to install:
The text was updated successfully, but these errors were encountered: