Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyleaf ph, install dependencies #863

Closed
MILO-GM opened this issue Oct 7, 2020 · 18 comments
Closed

Anyleaf ph, install dependencies #863

MILO-GM opened this issue Oct 7, 2020 · 18 comments

Comments

@MILO-GM
Copy link

MILO-GM commented Oct 7, 2020

Describe the problem/bug

Try to install the following dependencies : "anyleaf "and "adafruit_extended_bus"

Versions:

  • Mycodo Version: 8.8.5
  • Raspberry Pi Version: zero\4B
  • Raspbian OS Version: RASPBIAN LITE

Hi, first of all I want to thank you for this wonderful software!
I tried to install dependencies for "anyleaf ph" with no success in a raspberry ZERO W and 4B.
Below I send the report

[2020-10-07 08:36:14] Dependency installation beginning. Installing: anyleaf,adafruit_extended_bus
[2020-10-07 08:36:14] 
[2020-10-07 08:36:14] #### Installing/updating anyleaf (pip-pypi)
[2020-10-07 08:36:16] Collecting anyleaf
[2020-10-07 08:36:16]   Using cached anyleaf-0.1.8.1-py3-none-any.whl (6.7 kB)
[2020-10-07 08:36:16] Collecting adafruit-circuitpython-max31865>=2.2.3
[2020-10-07 08:36:16]   Using cached adafruit-circuitpython-max31865-2.2.4.tar.gz (20 kB)
[2020-10-07 08:36:20] Collecting adafruit-circuitpython-ads1x15>=2.2.2
[2020-10-07 08:36:20]   Using cached adafruit-circuitpython-ads1x15-2.2.3.tar.gz (23 kB)
[2020-10-07 08:36:23] Collecting filterpy>=1.4.5
[2020-10-07 08:36:23]   Using cached filterpy-1.4.5.zip (177 kB)
[2020-10-07 08:36:25] Collecting Adafruit-Blinka
[2020-10-07 08:36:26]   Downloading Adafruit-Blinka-5.5.0.tar.gz (109 kB)
[2020-10-07 08:36:31] Collecting adafruit-circuitpython-busdevice
[2020-10-07 08:36:31]   Using cached adafruit-circuitpython-busdevice-5.0.1.tar.gz (22 kB)
[2020-10-07 08:36:34] Requirement already satisfied, skipping upgrade: numpy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.16.2)
[2020-10-07 08:36:34] Requirement already satisfied, skipping upgrade: scipy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.1.0)
[2020-10-07 08:36:35] Collecting matplotlib
[2020-10-07 08:36:35]   Using cached matplotlib-3.3.2.tar.gz (37.9 MB)
[2020-10-07 08:36:57] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-07 08:36:57]   Downloading Adafruit-PlatformDetect-2.18.0.tar.gz (28 kB)
[2020-10-07 08:37:01] Collecting Adafruit-PureIO>=1.1.6
[2020-10-07 08:37:01]   Using cached Adafruit_PureIO-1.1.6.tar.gz (26 kB)
[2020-10-07 08:37:04] Collecting pyftdi>=0.40.0
[2020-10-07 08:37:04]   Using cached pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-07 08:37:05] Collecting certifi>=2020.06.20
[2020-10-07 08:37:05]   Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
[2020-10-07 08:37:05] Collecting cycler>=0.10
[2020-10-07 08:37:05]   Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
[2020-10-07 08:37:05] Collecting kiwisolver>=1.0.1
[2020-10-07 08:37:05]   Using cached kiwisolver-1.2.0.tar.gz (52 kB)
[2020-10-07 08:37:09] Collecting pillow>=6.2.0
[2020-10-07 08:37:10]   Using cached Pillow-7.2.0.tar.gz (39.1 MB)
[2020-10-07 08:37:22] Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in ./env/lib/python3.7/site-packages (from matplotlib->filterpy>=1.4.5->anyleaf) (2.4.7)
[2020-10-07 08:37:22] Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in ./env/lib/python3.7/site-packages (from matplotlib->filterpy>=1.4.5->anyleaf) (2.8.1)
[2020-10-07 08:37:24] Collecting pyusb>=1.0.0
[2020-10-07 08:37:24]   Using cached pyusb-1.1.0.tar.gz (78 kB)
[2020-10-07 08:37:24]   Installing build dependencies: started
[2020-10-07 08:37:25]   Installing build dependencies: finished with status 'error'
[2020-10-07 08:37:25]   ERROR: Command errored out with exit status 1:
[2020-10-07 08:37:25]    command: /home/pi/Mycodo/env/bin/python /home/pi/Mycodo/env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x_xkviu5/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=30.3.0' wheel setuptools_scm
[2020-10-07 08:37:25]        cwd: None
[2020-10-07 08:37:25]   Complete output (42 lines):
[2020-10-07 08:37:25]   Traceback (most recent call last):
[2020-10-07 08:37:25]     File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
[2020-10-07 08:37:25]       "__main__", mod_spec)
[2020-10-07 08:37:25]     File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
[2020-10-07 08:37:25]       exec(code, run_globals)
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/__main__.py", line 26, in <module>
[2020-10-07 08:37:25]       sys.exit(_main())
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
[2020-10-07 08:37:25]       command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command
[2020-10-07 08:37:25]       module = importlib.import_module(module_path)
[2020-10-07 08:37:25]     File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
[2020-10-07 08:37:25]       return _bootstrap._gcd_import(name[level:], package, level)
[2020-10-07 08:37:25]     File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
[2020-10-07 08:37:25]     File "<frozen importlib._bootstrap>", line 983, in _find_and_load
[2020-10-07 08:37:25]     File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
[2020-10-07 08:37:25]     File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
[2020-10-07 08:37:25]     File "<frozen importlib._bootstrap_external>", line 728, in exec_module
[2020-10-07 08:37:25]     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 17, in <module>
[2020-10-07 08:37:25]       from pip._internal.cli.req_command import RequirementCommand, with_cleanup
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>
[2020-10-07 08:37:25]       from pip._internal.index.collector import LinkCollector
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 14, in <module>
[2020-10-07 08:37:25]       from pip._vendor import html5lib, requests
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/requests/__init__.py", line 125, in <module>
[2020-10-07 08:37:25]       from . import utils
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
[2020-10-07 08:37:25]       from . import certs
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/requests/certs.py", line 15, in <module>
[2020-10-07 08:37:25]       from pip._vendor.certifi import where
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/certifi/__init__.py", line 1, in <module>
[2020-10-07 08:37:25]       from .core import contents, where
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/certifi/core.py", line 12, in <module>
[2020-10-07 08:37:25]       from importlib.resources import path as get_path, read_text
[2020-10-07 08:37:25]     File "/usr/lib/python3.7/importlib/resources.py", line 11, in <module>
[2020-10-07 08:37:25]       from typing import Iterable, Iterator, Optional, Set, Union   # noqa: F401
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py", line 1359, in <module>
[2020-10-07 08:37:25]       class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
[2020-10-07 08:37:25]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py", line 1007, in __new__
[2020-10-07 08:37:25]       self._abc_registry = extra._abc_registry
[2020-10-07 08:37:25]   AttributeError: type object 'Callable' has no attribute '_abc_registry'
[2020-10-07 08:37:25]   ----------------------------------------
[2020-10-07 08:37:25] ERROR: Command errored out with exit status 1: /home/pi/Mycodo/env/bin/python /home/pi/Mycodo/env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x_xkviu5/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=30.3.0' wheel setuptools_scm Check the logs for full command output.

[2020-10-07 08:37:26] End install of anyleaf

[2020-10-07 08:37:26] 
[2020-10-07 08:37:26] #### Installing/updating Adafruit_Extended_Bus (pip-pypi)
[2020-10-07 08:37:27] Collecting Adafruit_Extended_Bus
[2020-10-07 08:37:27]   Using cached adafruit-extended-bus-1.0.0.tar.gz (18 kB)
[2020-10-07 08:37:31] Collecting Adafruit-Blinka
[2020-10-07 08:37:31]   Using cached Adafruit-Blinka-5.5.0.tar.gz (109 kB)
[2020-10-07 08:37:34] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-07 08:37:34]   Using cached Adafruit-PlatformDetect-2.18.0.tar.gz (28 kB)
[2020-10-07 08:37:38] Collecting Adafruit-PureIO>=1.1.6
[2020-10-07 08:37:38]   Using cached Adafruit_PureIO-1.1.6.tar.gz (26 kB)
[2020-10-07 08:37:41] Collecting pyftdi>=0.40.0
[2020-10-07 08:37:41]   Using cached pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-07 08:37:41] Collecting pyusb>=1.0.0
[2020-10-07 08:37:41]   Using cached pyusb-1.1.0.tar.gz (78 kB)
[2020-10-07 08:37:41]   Installing build dependencies: started
[2020-10-07 08:37:42]   Installing build dependencies: finished with status 'error'
[2020-10-07 08:37:42]   ERROR: Command errored out with exit status 1:
[2020-10-07 08:37:42]    command: /home/pi/Mycodo/env/bin/python /home/pi/Mycodo/env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-5vhs07ku/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=30.3.0' wheel setuptools_scm
[2020-10-07 08:37:42]        cwd: None
[2020-10-07 08:37:42]   Complete output (42 lines):
[2020-10-07 08:37:42]   Traceback (most recent call last):
[2020-10-07 08:37:42]     File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
[2020-10-07 08:37:42]       "__main__", mod_spec)
[2020-10-07 08:37:42]     File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
[2020-10-07 08:37:42]       exec(code, run_globals)
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/__main__.py", line 26, in <module>
[2020-10-07 08:37:42]       sys.exit(_main())
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
[2020-10-07 08:37:42]       command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command
[2020-10-07 08:37:42]       module = importlib.import_module(module_path)
[2020-10-07 08:37:42]     File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
[2020-10-07 08:37:42]       return _bootstrap._gcd_import(name[level:], package, level)
[2020-10-07 08:37:42]     File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
[2020-10-07 08:37:42]     File "<frozen importlib._bootstrap>", line 983, in _find_and_load
[2020-10-07 08:37:42]     File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
[2020-10-07 08:37:42]     File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
[2020-10-07 08:37:42]     File "<frozen importlib._bootstrap_external>", line 728, in exec_module
[2020-10-07 08:37:42]     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 17, in <module>
[2020-10-07 08:37:42]       from pip._internal.cli.req_command import RequirementCommand, with_cleanup
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>
[2020-10-07 08:37:42]       from pip._internal.index.collector import LinkCollector
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 14, in <module>
[2020-10-07 08:37:42]       from pip._vendor import html5lib, requests
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/requests/__init__.py", line 125, in <module>
[2020-10-07 08:37:42]       from . import utils
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
[2020-10-07 08:37:42]       from . import certs
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/requests/certs.py", line 15, in <module>
[2020-10-07 08:37:42]       from pip._vendor.certifi import where
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/certifi/__init__.py", line 1, in <module>
[2020-10-07 08:37:42]       from .core import contents, where
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/certifi/core.py", line 12, in <module>
[2020-10-07 08:37:42]       from importlib.resources import path as get_path, read_text
[2020-10-07 08:37:42]     File "/usr/lib/python3.7/importlib/resources.py", line 11, in <module>
[2020-10-07 08:37:42]       from typing import Iterable, Iterator, Optional, Set, Union   # noqa: F401
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py", line 1359, in <module>
[2020-10-07 08:37:42]       class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
[2020-10-07 08:37:42]     File "/home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py", line 1007, in __new__
[2020-10-07 08:37:42]       self._abc_registry = extra._abc_registry
[2020-10-07 08:37:42]   AttributeError: type object 'Callable' has no attribute '_abc_registry'
[2020-10-07 08:37:42]   ----------------------------------------
[2020-10-07 08:37:42] ERROR: Command errored out with exit status 1: /home/pi/Mycodo/env/bin/python /home/pi/Mycodo/env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-5vhs07ku/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=30.3.0' wheel setuptools_scm Check the logs for full command output.

[2020-10-07 08:37:43] End install of adafruit_extended_bus

[2020-10-07 08:37:43] 
[2020-10-07 08:37:43] #### Setting permissions

[2020-10-07 08:37:43] #### All Dependencies have been installed

Thank you for your help!

@kizniche
Copy link
Owner

kizniche commented Oct 7, 2020

Try this:

sudo ~/Mycodo/env/bin/pip3 uninstall typing

Ref: ethereum/eth-abi#131

@MILO-GM
Copy link
Author

MILO-GM commented Oct 7, 2020

I tried and it returns this message written in red:

WARNING:Skipping typing as it is not installed.

@kizniche
Copy link
Owner

kizniche commented Oct 7, 2020

[2020-10-07 08:37:42] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py", line 1007, in new
[2020-10-07 08:37:42] self._abc_registry = extra._abc_registry
[2020-10-07 08:37:42] AttributeError: type object 'Callable' has no attribute '_abc_registry'

I don't have /home/pi/Mycodo/env/lib/python3.7/site-packages/typing.py, so I can't replicate your issue. I'm not sure how you got that package in your environment, considering it's a built-in package since Python 3.5, but that's what's causing your problem.

@kizniche
Copy link
Owner

kizniche commented Oct 7, 2020

Try deleting and rebuilding your virtual environment:

sudo rm -rf ~/Mycodo/env
sudo bash ~/Mycodo/mycodo/scripts/upgrade_commands.sh setup-virtualenv-full
sudo bash ~/Mycodo/mycodo/scripts/upgrade_commands.sh update-dependencies
sudo service mycodo restart && sudo service mycodoflask restart

@MILO-GM
Copy link
Author

MILO-GM commented Oct 8, 2020

I tried with the commands but failed to fix. I reinstalled mycodo on the raspberry (zero), tried to add only anyleaf ph as input and nothing else.
While installing dependencies only "python3-numpy" and "python3-scipy" install correctly, while "anyleaf" and "adafruit_extended_bus" fail. Any ideas on how to fix this?

Thank you so much for this software and for your help!

[2020-10-08 15:27:57] Dependency installation beginning. Installing: python3-numpy,python3-scipy,anyleaf,adafruit_extended_bus

[2020-10-08 15:27:59]
[2020-10-08 15:27:59] #### Installing/updating python3-numpy (apt)
[2020-10-08 15:28:05] Reading package lists...
[2020-10-08 15:28:08] Building dependency tree...
[2020-10-08 15:28:08] Reading state information...
[2020-10-08 15:28:11] The following additional packages will be installed:
[2020-10-08 15:28:11] libblas3 libgfortran5 liblapack3
[2020-10-08 15:28:11] Suggested packages:
[2020-10-08 15:28:11] gfortran python-numpy-doc python3-pytest python3-numpy-dbg
[2020-10-08 15:28:12] The following NEW packages will be installed:
[2020-10-08 15:28:12] libblas3 libgfortran5 liblapack3 python3-numpy
[2020-10-08 15:28:18] 0 upgraded, 4 newly installed, 0 to remove and 21 not upgraded.
[2020-10-08 15:28:18] Need to get 3,676 kB of archives.
[2020-10-08 15:28:18] After this operation, 17.4 MB of additional disk space will be used.
[2020-10-08 15:28:18] Get:1 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libgfortran5 armhf 8.3.0-6+rpi1 [206 kB]
[2020-10-08 15:28:18] Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libblas3 armhf 3.8.0-2 [103 kB]
[2020-10-08 15:28:19] Get:4 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-numpy armhf 1:1.16.2-1 [1,873 kB]
[2020-10-08 15:28:21] Get:3 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf liblapack3 armhf 3.8.0-2 [1,493 kB]
[2020-10-08 15:28:40] debconf: unable to initialize frontend: Dialog
[2020-10-08 15:28:40] debconf: (TERM is not set, so the dialog frontend is not usable.)
[2020-10-08 15:28:40] debconf: falling back to frontend: Readline
[2020-10-08 15:28:40] debconf: unable to initialize frontend: Readline
[2020-10-08 15:28:40] debconf: (This frontend requires a controlling tty.)
[2020-10-08 15:28:40] debconf: falling back to frontend: Teletype
[2020-10-08 15:28:40] dpkg-preconfigure: unable to re-open stdin:
[2020-10-08 15:28:40] Fetched 3,676 kB in 20s (183 kB/s)
[2020-10-08 15:28:41] Selecting previously unselected package libgfortran5:armhf.
[2020-10-08 15:28:42] (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 43793 files and directories currently installed.)
[2020-10-08 15:28:42] Preparing to unpack .../libgfortran5_8.3.0-6+rpi1_armhf.deb ...
[2020-10-08 15:28:42] Unpacking libgfortran5:armhf (8.3.0-6+rpi1) ...
[2020-10-08 15:28:43] Selecting previously unselected package libblas3:armhf.
[2020-10-08 15:28:43] Preparing to unpack .../libblas3_3.8.0-2_armhf.deb ...
[2020-10-08 15:28:43] Unpacking libblas3:armhf (3.8.0-2) ...
[2020-10-08 15:28:43] Selecting previously unselected package liblapack3:armhf.
[2020-10-08 15:28:43] Preparing to unpack .../liblapack3_3.8.0-2_armhf.deb ...
[2020-10-08 15:28:43] Unpacking liblapack3:armhf (3.8.0-2) ...
[2020-10-08 15:28:46] Selecting previously unselected package python3-numpy.
[2020-10-08 15:28:46] Preparing to unpack .../python3-numpy_1%3a1.16.2-1_armhf.deb ...
[2020-10-08 15:28:46] Unpacking python3-numpy (1:1.16.2-1) ...
[2020-10-08 15:28:50] Setting up libgfortran5:armhf (8.3.0-6+rpi1) ...
[2020-10-08 15:28:50] Setting up libblas3:armhf (3.8.0-2) ...
[2020-10-08 15:28:50] update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode
[2020-10-08 15:28:50] Setting up liblapack3:armhf (3.8.0-2) ...
[2020-10-08 15:28:50] update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode
[2020-10-08 15:28:50] Setting up python3-numpy (1:1.16.2-1) ...
[2020-10-08 15:29:16] Processing triggers for libc-bin (2.28-10+rpi1) ...

[2020-10-08 15:29:20] End install of python3-numpy

[2020-10-08 15:29:21]
[2020-10-08 15:29:21] #### Installing/updating python3-scipy (apt)
[2020-10-08 15:29:21] Reading package lists...
[2020-10-08 15:29:23] Building dependency tree...
[2020-10-08 15:29:23] Reading state information...
[2020-10-08 15:29:26] The following additional packages will be installed:
[2020-10-08 15:29:26] libimagequant0 liblcms2-2 libwebpdemux2 libwebpmux3 python3-decorator
[2020-10-08 15:29:26] python3-olefile python3-pil
[2020-10-08 15:29:26] Suggested packages:
[2020-10-08 15:29:26] liblcms2-utils python-pil-doc python3-pil-dbg python-scipy-doc
[2020-10-08 15:29:27] The following NEW packages will be installed:
[2020-10-08 15:29:27] libimagequant0 liblcms2-2 libwebpdemux2 libwebpmux3 python3-decorator
[2020-10-08 15:29:27] python3-olefile python3-pil python3-scipy
[2020-10-08 15:29:28] 0 upgraded, 8 newly installed, 0 to remove and 21 not upgraded.
[2020-10-08 15:29:28] Need to get 9,650 kB of archives.
[2020-10-08 15:29:28] After this operation, 40.1 MB of additional disk space will be used.
[2020-10-08 15:29:28] Get:1 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf libimagequant0 armhf 2.12.2-1.1 [27.2 kB]
[2020-10-08 15:29:28] Get:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf liblcms2-2 armhf 2.9-3 [116 kB]
[2020-10-08 15:29:29] Get:3 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libwebpdemux2 armhf 0.6.1-2 [86.7 kB]
[2020-10-08 15:29:29] Get:4 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf libwebpmux3 armhf 0.6.1-2 [94.2 kB]
[2020-10-08 15:29:30] Get:5 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-decorator all 4.3.0-1.1 [14.5 kB]
[2020-10-08 15:29:30] Get:6 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-olefile all 0.46-1 [35.9 kB]
[2020-10-08 15:29:30] Get:7 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-pil armhf 5.4.1-2+deb10u2 [365 kB]
[2020-10-08 15:29:32] Get:8 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-scipy armhf 1.1.0-7 [8,910 kB]
[2020-10-08 15:30:15] debconf: unable to initialize frontend: Dialog
[2020-10-08 15:30:15] debconf: (TERM is not set, so the dialog frontend is not usable.)
[2020-10-08 15:30:15] debconf: falling back to frontend: Readline
[2020-10-08 15:30:15] debconf: unable to initialize frontend: Readline
[2020-10-08 15:30:15] debconf: (This frontend requires a controlling tty.)
[2020-10-08 15:30:15] debconf: falling back to frontend: Teletype
[2020-10-08 15:30:15] dpkg-preconfigure: unable to re-open stdin:
[2020-10-08 15:30:16] Fetched 9,650 kB in 41s (234 kB/s)
[2020-10-08 15:30:16] Selecting previously unselected package libimagequant0:armhf.
[2020-10-08 15:30:16] (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 44238 files and directories currently installed.)
[2020-10-08 15:30:16] Preparing to unpack .../0-libimagequant0_2.12.2-1.1_armhf.deb ...
[2020-10-08 15:30:16] Unpacking libimagequant0:armhf (2.12.2-1.1) ...
[2020-10-08 15:30:17] Selecting previously unselected package liblcms2-2:armhf.
[2020-10-08 15:30:17] Preparing to unpack .../1-liblcms2-2_2.9-3_armhf.deb ...
[2020-10-08 15:30:17] Unpacking liblcms2-2:armhf (2.9-3) ...
[2020-10-08 15:30:17] Selecting previously unselected package libwebpdemux2:armhf.
[2020-10-08 15:30:17] Preparing to unpack .../2-libwebpdemux2_0.6.1-2_armhf.deb ...
[2020-10-08 15:30:17] Unpacking libwebpdemux2:armhf (0.6.1-2) ...
[2020-10-08 15:30:17] Selecting previously unselected package libwebpmux3:armhf.
[2020-10-08 15:30:17] Preparing to unpack .../3-libwebpmux3_0.6.1-2_armhf.deb ...
[2020-10-08 15:30:17] Unpacking libwebpmux3:armhf (0.6.1-2) ...
[2020-10-08 15:30:18] Selecting previously unselected package python3-decorator.
[2020-10-08 15:30:18] Preparing to unpack .../4-python3-decorator_4.3.0-1.1_all.deb ...
[2020-10-08 15:30:18] Unpacking python3-decorator (4.3.0-1.1) ...
[2020-10-08 15:30:18] Selecting previously unselected package python3-olefile.
[2020-10-08 15:30:18] Preparing to unpack .../5-python3-olefile_0.46-1_all.deb ...
[2020-10-08 15:30:18] Unpacking python3-olefile (0.46-1) ...
[2020-10-08 15:30:19] Selecting previously unselected package python3-pil:armhf.
[2020-10-08 15:30:19] Preparing to unpack .../6-python3-pil_5.4.1-2+deb10u2_armhf.deb ...
[2020-10-08 15:30:19] Unpacking python3-pil:armhf (5.4.1-2+deb10u2) ...
[2020-10-08 15:30:20] Selecting previously unselected package python3-scipy.
[2020-10-08 15:30:20] Preparing to unpack .../7-python3-scipy_1.1.0-7_armhf.deb ...
[2020-10-08 15:30:20] Unpacking python3-scipy (1.1.0-7) ...
[2020-10-08 15:30:31] Setting up liblcms2-2:armhf (2.9-3) ...
[2020-10-08 15:30:31] Setting up python3-olefile (0.46-1) ...
[2020-10-08 15:30:35] Setting up libwebpdemux2:armhf (0.6.1-2) ...
[2020-10-08 15:30:35] Setting up python3-decorator (4.3.0-1.1) ...
[2020-10-08 15:30:38] Setting up libimagequant0:armhf (2.12.2-1.1) ...
[2020-10-08 15:30:38] Setting up libwebpmux3:armhf (0.6.1-2) ...
[2020-10-08 15:30:38] Setting up python3-scipy (1.1.0-7) ...
[2020-10-08 15:31:14] Setting up python3-pil:armhf (5.4.1-2+deb10u2) ...
[2020-10-08 15:31:21] Processing triggers for libc-bin (2.28-10+rpi1) ...

[2020-10-08 15:31:24] End install of python3-scipy

[2020-10-08 15:31:27]
[2020-10-08 15:31:27] #### Installing/updating anyleaf (pip-pypi)
[2020-10-08 15:31:42] Collecting anyleaf
[2020-10-08 15:31:42] Downloading anyleaf-0.1.8.1-py3-none-any.whl (6.7 kB)
[2020-10-08 15:31:45] Collecting filterpy>=1.4.5
[2020-10-08 15:31:45] Downloading filterpy-1.4.5.zip (177 kB)
[2020-10-08 15:31:59] Collecting adafruit-circuitpython-ads1x15>=2.2.2
[2020-10-08 15:31:59] Downloading adafruit-circuitpython-ads1x15-2.2.3.tar.gz (23 kB)
[2020-10-08 15:32:29] Collecting adafruit-circuitpython-max31865>=2.2.3
[2020-10-08 15:32:29] Downloading adafruit-circuitpython-max31865-2.2.4.tar.gz (20 kB)
[2020-10-08 15:32:57] Requirement already satisfied, skipping upgrade: numpy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.16.2)
[2020-10-08 15:32:57] Requirement already satisfied, skipping upgrade: scipy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.1.0)
[2020-10-08 15:33:06] Collecting matplotlib
[2020-10-08 15:33:06] Downloading matplotlib-3.3.2.tar.gz (37.9 MB)
[2020-10-08 15:40:59] ERROR: Exception:
[2020-10-08 15:40:59] Traceback (most recent call last):
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 437, in _error_catcher
[2020-10-08 15:40:59] yield
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
[2020-10-08 15:40:59] data = self._fp.read(amt) if not fp_closed else b""
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
[2020-10-08 15:40:59] data = self.__fp.read(amt)
[2020-10-08 15:40:59] File "/usr/lib/python3.7/http/client.py", line 457, in read
[2020-10-08 15:40:59] n = self.readinto(b)
[2020-10-08 15:40:59] File "/usr/lib/python3.7/http/client.py", line 501, in readinto
[2020-10-08 15:40:59] n = self.fp.readinto(b)
[2020-10-08 15:40:59] File "/usr/lib/python3.7/socket.py", line 589, in readinto
[2020-10-08 15:40:59] return self._sock.recv_into(b)
[2020-10-08 15:40:59] File "/usr/lib/python3.7/ssl.py", line 1052, in recv_into
[2020-10-08 15:40:59] return self.read(nbytes, buffer)
[2020-10-08 15:40:59] File "/usr/lib/python3.7/ssl.py", line 911, in read
[2020-10-08 15:40:59] return self._sslobj.read(len, buffer)
[2020-10-08 15:40:59] socket.timeout: The read operation timed out
[2020-10-08 15:40:59]
[2020-10-08 15:40:59] During handling of the above exception, another exception occurred:
[2020-10-08 15:40:59]
[2020-10-08 15:40:59] Traceback (most recent call last):
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
[2020-10-08 15:40:59] status = self.run(options, args)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
[2020-10-08 15:40:59] return func(self, options, args)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 324, in run
[2020-10-08 15:40:59] reqs, check_supported_wheels=not options.target_dir
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
[2020-10-08 15:40:59] discovered_reqs.extend(self._resolve_one(requirement_set, req))
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
[2020-10-08 15:40:59] abstract_dist = self._get_abstract_dist_for(req_to_install)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
[2020-10-08 15:40:59] abstract_dist = self.preparer.prepare_linked_requirement(req)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
[2020-10-08 15:40:59] hashes=self._get_linked_req_hashes(req)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 259, in unpack_url
[2020-10-08 15:40:59] hashes=hashes,
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url
[2020-10-08 15:40:59] link, downloader, temp_dir.path, hashes
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 282, in _download_http_url
[2020-10-08 15:40:59] for chunk in download.chunks:
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/progress_bars.py", line 168, in iter
[2020-10-08 15:40:59] for x in it:
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/network/utils.py", line 88, in response_chunks
[2020-10-08 15:40:59] decode_content=False,
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
[2020-10-08 15:40:59] data = self.read(amt=amt, decode_content=decode_content)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
[2020-10-08 15:40:59] raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
[2020-10-08 15:40:59] File "/usr/lib/python3.7/contextlib.py", line 130, in exit
[2020-10-08 15:40:59] self.gen.throw(type, value, traceback)
[2020-10-08 15:40:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 442, in _error_catcher
[2020-10-08 15:40:59] raise ReadTimeoutError(self._pool, None, "Read timed out.")
[2020-10-08 15:40:59] pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

[2020-10-08 15:41:01] End install of anyleaf

[2020-10-08 15:41:02]
[2020-10-08 15:41:02] #### Installing/updating Adafruit_Extended_Bus (pip-pypi)
[2020-10-08 15:41:19] Collecting Adafruit_Extended_Bus
[2020-10-08 15:41:23] Downloading adafruit-extended-bus-1.0.0.tar.gz (18 kB)
[2020-10-08 15:42:02] Collecting Adafruit-Blinka
[2020-10-08 15:42:02] Downloading Adafruit-Blinka-5.5.1.tar.gz (110 kB)
[2020-10-08 15:42:44] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-08 15:42:44] Downloading Adafruit-PlatformDetect-2.18.0.tar.gz (28 kB)
[2020-10-08 15:43:14] Collecting Adafruit-PureIO>=1.1.6
[2020-10-08 15:43:14] Downloading Adafruit_PureIO-1.1.6.tar.gz (26 kB)
[2020-10-08 15:43:43] Collecting pyftdi>=0.40.0
[2020-10-08 15:43:43] Downloading pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-08 15:44:00] ERROR: Exception:
[2020-10-08 15:44:00] Traceback (most recent call last):
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 437, in _error_catcher
[2020-10-08 15:44:00] yield
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
[2020-10-08 15:44:00] data = self._fp.read(amt) if not fp_closed else b""
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
[2020-10-08 15:44:00] data = self.__fp.read(amt)
[2020-10-08 15:44:00] File "/usr/lib/python3.7/http/client.py", line 457, in read
[2020-10-08 15:44:00] n = self.readinto(b)
[2020-10-08 15:44:00] File "/usr/lib/python3.7/http/client.py", line 501, in readinto
[2020-10-08 15:44:00] n = self.fp.readinto(b)
[2020-10-08 15:44:00] File "/usr/lib/python3.7/socket.py", line 589, in readinto
[2020-10-08 15:44:00] return self._sock.recv_into(b)
[2020-10-08 15:44:00] File "/usr/lib/python3.7/ssl.py", line 1052, in recv_into
[2020-10-08 15:44:00] return self.read(nbytes, buffer)
[2020-10-08 15:44:00] File "/usr/lib/python3.7/ssl.py", line 911, in read
[2020-10-08 15:44:00] return self._sslobj.read(len, buffer)
[2020-10-08 15:44:00] socket.timeout: The read operation timed out
[2020-10-08 15:44:00]
[2020-10-08 15:44:00] During handling of the above exception, another exception occurred:
[2020-10-08 15:44:00]
[2020-10-08 15:44:00] Traceback (most recent call last):
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
[2020-10-08 15:44:00] status = self.run(options, args)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
[2020-10-08 15:44:00] return func(self, options, args)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 324, in run
[2020-10-08 15:44:00] reqs, check_supported_wheels=not options.target_dir
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
[2020-10-08 15:44:00] discovered_reqs.extend(self._resolve_one(requirement_set, req))
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
[2020-10-08 15:44:00] abstract_dist = self._get_abstract_dist_for(req_to_install)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
[2020-10-08 15:44:00] abstract_dist = self.preparer.prepare_linked_requirement(req)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
[2020-10-08 15:44:00] hashes=self._get_linked_req_hashes(req)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 259, in unpack_url
[2020-10-08 15:44:00] hashes=hashes,
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url
[2020-10-08 15:44:00] link, downloader, temp_dir.path, hashes
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 282, in _download_http_url
[2020-10-08 15:44:00] for chunk in download.chunks:
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/progress_bars.py", line 168, in iter
[2020-10-08 15:44:00] for x in it:
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/network/utils.py", line 88, in response_chunks
[2020-10-08 15:44:00] decode_content=False,
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
[2020-10-08 15:44:00] data = self.read(amt=amt, decode_content=decode_content)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 541, in read
[2020-10-08 15:44:00] raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
[2020-10-08 15:44:00] File "/usr/lib/python3.7/contextlib.py", line 130, in exit
[2020-10-08 15:44:00] self.gen.throw(type, value, traceback)
[2020-10-08 15:44:00] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 442, in _error_catcher
[2020-10-08 15:44:00] raise ReadTimeoutError(self._pool, None, "Read timed out.")
[2020-10-08 15:44:00] pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

[2020-10-08 15:44:02] End install of adafruit_extended_bus

[2020-10-08 15:44:03]
[2020-10-08 15:44:03] #### Setting permissions

[2020-10-08 15:44:08] #### All Dependencies have been installed.

@kizniche
Copy link
Owner

kizniche commented Oct 8, 2020

I don't see your previous error, do you? I only see read timeouts, which could mean an issue with your internet connection or server you're trying to connect to.

@MILO-GM
Copy link
Author

MILO-GM commented Oct 8, 2020

Now the error is another. I tried to connect to a different network and tried again to install the two missing dependencies but without success.
What log can I send you to help understand the problem?

Sorry for the few details I can give you but I use google translate and I wouldn't want to write wrong!

[2020-10-08 17:03:11] Dependency installation beginning. Installing: anyleaf,adafruit_extended_bus

[2020-10-08 17:03:13]
[2020-10-08 17:03:13] #### Installing/updating anyleaf (pip-pypi)
[2020-10-08 17:03:30] Collecting anyleaf
[2020-10-08 17:03:30] Using cached anyleaf-0.1.8.1-py3-none-any.whl (6.7 kB)
[2020-10-08 17:03:31] Collecting adafruit-circuitpython-max31865>=2.2.3
[2020-10-08 17:03:32] Using cached adafruit-circuitpython-max31865-2.2.4.tar.gz (20 kB)
[2020-10-08 17:04:00] Collecting filterpy>=1.4.5
[2020-10-08 17:04:00] Using cached filterpy-1.4.5.zip (177 kB)
[2020-10-08 17:04:11] Collecting adafruit-circuitpython-ads1x15>=2.2.2
[2020-10-08 17:04:11] Using cached adafruit-circuitpython-ads1x15-2.2.3.tar.gz (23 kB)
[2020-10-08 17:04:41] Collecting Adafruit-Blinka
[2020-10-08 17:04:41] Using cached Adafruit-Blinka-5.5.1.tar.gz (110 kB)
[2020-10-08 17:05:13] Collecting adafruit-circuitpython-busdevice
[2020-10-08 17:05:13] Using cached adafruit-circuitpython-busdevice-5.0.1.tar.gz (22 kB)
[2020-10-08 17:05:40] Requirement already satisfied, skipping upgrade: numpy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.16.2)
[2020-10-08 17:05:40] Requirement already satisfied, skipping upgrade: scipy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.1.0)
[2020-10-08 17:05:47] Collecting matplotlib
[2020-10-08 17:05:50] Using cached matplotlib-3.3.2.tar.gz (37.9 MB)
[2020-10-08 17:07:33] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-08 17:07:33] Using cached Adafruit-PlatformDetect-2.18.0.tar.gz (28 kB)
[2020-10-08 17:08:01] Collecting Adafruit-PureIO>=1.1.6
[2020-10-08 17:08:01] Using cached Adafruit_PureIO-1.1.6.tar.gz (26 kB)
[2020-10-08 17:08:30] Collecting pyftdi>=0.40.0
[2020-10-08 17:08:30] Using cached pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-08 17:08:31] Requirement already satisfied, skipping upgrade: RPi.GPIO in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->adafruit-circuitpython-max31865>=2.2.3->anyleaf) (0.7.0)
[2020-10-08 17:08:32] Collecting rpi_ws281x>=4.0.0
[2020-10-08 17:08:32] Using cached rpi_ws281x-4.2.4.tar.gz (60 kB)
[2020-10-08 17:08:42] Collecting sysv_ipc
[2020-10-08 17:08:42] Using cached sysv_ipc-1.0.1.tar.gz (102 kB)
[2020-10-08 17:08:59] Collecting certifi>=2020.06.20
[2020-10-08 17:08:59] Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
[2020-10-08 17:09:00] Collecting cycler>=0.10
[2020-10-08 17:09:00] Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
[2020-10-08 17:09:03] Collecting kiwisolver>=1.0.1
[2020-10-08 17:09:03] Using cached kiwisolver-1.2.0.tar.gz (52 kB)
[2020-10-08 17:09:40] Collecting pillow>=6.2.0
[2020-10-08 17:09:44] Using cached Pillow-7.2.0.tar.gz (39.1 MB)
[2020-10-08 17:10:27] Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in ./env/lib/python3.7/site-packages (from matplotlib->filterpy>=1.4.5->anyleaf) (2.4.7)
[2020-10-08 17:10:27] Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in ./env/lib/python3.7/site-packages (from matplotlib->filterpy>=1.4.5->anyleaf) (2.8.1)
[2020-10-08 17:10:27] Requirement already satisfied, skipping upgrade: pyserial>=3.0 in ./env/lib/python3.7/site-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-max31865>=2.2.3->anyleaf) (3.4)
[2020-10-08 17:10:29] Collecting pyusb>=1.0.0
[2020-10-08 17:10:29] Using cached pyusb-1.1.0.tar.gz (78 kB)
[2020-10-08 17:10:29] Installing build dependencies: started
[2020-10-08 17:11:31] Installing build dependencies: still running...
[2020-10-08 17:11:34] Installing build dependencies: finished with status 'done'
[2020-10-08 17:11:34] Getting requirements to build wheel: started
[2020-10-08 17:11:39] Getting requirements to build wheel: finished with status 'done'
[2020-10-08 17:11:39] ERROR: Exception:
[2020-10-08 17:11:39] Traceback (most recent call last):
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py", line 98, in init
[2020-10-08 17:11:39] req = REQUIREMENT.parseString(requirement_string)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pyparsing.py", line 1955, in parseString
[2020-10-08 17:11:39] raise exc
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pyparsing.py", line 3250, in parseImpl
[2020-10-08 17:11:39] raise ParseException(instring, loc, self.errmsg, self)
[2020-10-08 17:11:39] pip.vendor.pyparsing.ParseException: Expected W:(abcd...), found '' (at char 0), (line:1, col:1)
[2020-10-08 17:11:39]
[2020-10-08 17:11:39] During handling of the above exception, another exception occurred:
[2020-10-08 17:11:39]
[2020-10-08 17:11:39] Traceback (most recent call last):
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3101, in init
[2020-10-08 17:11:39] super(Requirement, self).init(requirement_string)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py", line 102, in init
[2020-10-08 17:11:39] requirement_string[e.loc : e.loc + 8], e.msg
[2020-10-08 17:11:39] pip.vendor.packaging.requirements.InvalidRequirement: Parse error at "''": Expected W:(abcd...)
[2020-10-08 17:11:39]
[2020-10-08 17:11:39] During handling of the above exception, another exception occurred:
[2020-10-08 17:11:39]
[2020-10-08 17:11:39] Traceback (most recent call last):
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
[2020-10-08 17:11:39] status = self.run(options, args)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
[2020-10-08 17:11:39] return func(self, options, args)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 324, in run
[2020-10-08 17:11:39] reqs, check_supported_wheels=not options.target_dir
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
[2020-10-08 17:11:39] discovered_reqs.extend(self._resolve_one(requirement_set, req))
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
[2020-10-08 17:11:39] abstract_dist = self._get_abstract_dist_for(req_to_install)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
[2020-10-08 17:11:39] abstract_dist = self.preparer.prepare_linked_requirement(req)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 483, in prepare_linked_requirement
[2020-10-08 17:11:39] req, self.req_tracker, self.finder, self.build_isolation,
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution
[2020-10-08 17:11:39] abstract_dist.prepare_distribution_metadata(finder, build_isolation)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
[2020-10-08 17:11:39] self._setup_isolation(finder)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 98, in _setup_isolation
[2020-10-08 17:11:39] conflicting, missing = self.req.build_env.check_requirements(reqs)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/build_env.py", line 154, in check_requirements
[2020-10-08 17:11:39] if ws.find(Requirement.parse(req)) is None:
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3148, in parse
[2020-10-08 17:11:39] req, = parse_requirements(s)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3094, in parse_requirements
[2020-10-08 17:11:39] yield Requirement(line)
[2020-10-08 17:11:39] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3103, in init
[2020-10-08 17:11:39] raise RequirementParseError(str(e))
[2020-10-08 17:11:39] pip.vendor.pkg_resources.RequirementParseError: Parse error at "''": Expected W:(abcd...)

[2020-10-08 17:11:46] End install of anyleaf

[2020-10-08 17:11:47]
[2020-10-08 17:11:47] #### Installing/updating Adafruit_Extended_Bus (pip-pypi)
[2020-10-08 17:11:59] Collecting Adafruit_Extended_Bus
[2020-10-08 17:11:59] Using cached adafruit-extended-bus-1.0.0.tar.gz (18 kB)
[2020-10-08 17:12:30] Collecting Adafruit-Blinka
[2020-10-08 17:12:30] Using cached Adafruit-Blinka-5.5.1.tar.gz (110 kB)
[2020-10-08 17:13:01] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-08 17:13:01] Using cached Adafruit-PlatformDetect-2.18.0.tar.gz (28 kB)
[2020-10-08 17:13:30] Collecting Adafruit-PureIO>=1.1.6
[2020-10-08 17:13:30] Using cached Adafruit_PureIO-1.1.6.tar.gz (26 kB)
[2020-10-08 17:13:59] Collecting pyftdi>=0.40.0
[2020-10-08 17:13:59] Using cached pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-08 17:13:59] Requirement already satisfied, skipping upgrade: RPi.GPIO in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (0.7.0)
[2020-10-08 17:14:01] Collecting rpi_ws281x>=4.0.0
[2020-10-08 17:14:01] Using cached rpi_ws281x-4.2.4.tar.gz (60 kB)
[2020-10-08 17:14:11] Collecting sysv_ipc
[2020-10-08 17:14:11] Using cached sysv_ipc-1.0.1.tar.gz (102 kB)
[2020-10-08 17:14:27] Requirement already satisfied, skipping upgrade: pyserial>=3.0 in ./env/lib/python3.7/site-packages (from pyftdi>=0.40.0->Adafruit-Blinka->Adafruit_Extended_Bus) (3.4)
[2020-10-08 17:14:28] Collecting pyusb>=1.0.0
[2020-10-08 17:14:29] Using cached pyusb-1.1.0.tar.gz (78 kB)
[2020-10-08 17:14:29] Installing build dependencies: started
[2020-10-08 17:15:30] Installing build dependencies: still running...
[2020-10-08 17:15:32] Installing build dependencies: finished with status 'done'
[2020-10-08 17:15:32] Getting requirements to build wheel: started
[2020-10-08 17:15:37] Getting requirements to build wheel: finished with status 'done'
[2020-10-08 17:15:37] ERROR: Exception:
[2020-10-08 17:15:37] Traceback (most recent call last):
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py", line 98, in init
[2020-10-08 17:15:37] req = REQUIREMENT.parseString(requirement_string)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pyparsing.py", line 1955, in parseString
[2020-10-08 17:15:37] raise exc
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pyparsing.py", line 3250, in parseImpl
[2020-10-08 17:15:37] raise ParseException(instring, loc, self.errmsg, self)
[2020-10-08 17:15:37] pip.vendor.pyparsing.ParseException: Expected W:(abcd...), found '' (at char 0), (line:1, col:1)
[2020-10-08 17:15:37]
[2020-10-08 17:15:37] During handling of the above exception, another exception occurred:
[2020-10-08 17:15:37]
[2020-10-08 17:15:37] Traceback (most recent call last):
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3101, in init
[2020-10-08 17:15:37] super(Requirement, self).init(requirement_string)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py", line 102, in init
[2020-10-08 17:15:37] requirement_string[e.loc : e.loc + 8], e.msg
[2020-10-08 17:15:37] pip.vendor.packaging.requirements.InvalidRequirement: Parse error at "''": Expected W:(abcd...)
[2020-10-08 17:15:37]
[2020-10-08 17:15:37] During handling of the above exception, another exception occurred:
[2020-10-08 17:15:37]
[2020-10-08 17:15:37] Traceback (most recent call last):
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
[2020-10-08 17:15:37] status = self.run(options, args)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
[2020-10-08 17:15:37] return func(self, options, args)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 324, in run
[2020-10-08 17:15:37] reqs, check_supported_wheels=not options.target_dir
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
[2020-10-08 17:15:37] discovered_reqs.extend(self._resolve_one(requirement_set, req))
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
[2020-10-08 17:15:37] abstract_dist = self._get_abstract_dist_for(req_to_install)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
[2020-10-08 17:15:37] abstract_dist = self.preparer.prepare_linked_requirement(req)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 483, in prepare_linked_requirement
[2020-10-08 17:15:37] req, self.req_tracker, self.finder, self.build_isolation,
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution
[2020-10-08 17:15:37] abstract_dist.prepare_distribution_metadata(finder, build_isolation)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
[2020-10-08 17:15:37] self._setup_isolation(finder)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 98, in _setup_isolation
[2020-10-08 17:15:37] conflicting, missing = self.req.build_env.check_requirements(reqs)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/build_env.py", line 154, in check_requirements
[2020-10-08 17:15:37] if ws.find(Requirement.parse(req)) is None:
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3148, in parse
[2020-10-08 17:15:37] req, = parse_requirements(s)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3094, in parse_requirements
[2020-10-08 17:15:37] yield Requirement(line)
[2020-10-08 17:15:37] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3103, in init
[2020-10-08 17:15:37] raise RequirementParseError(str(e))
[2020-10-08 17:15:37] pip.vendor.pkg_resources.RequirementParseError: Parse error at "''": Expected W:(abcd...)

[2020-10-08 17:15:39] End install of adafruit_extended_bus

[2020-10-08 17:15:41]
[2020-10-08 17:15:41] #### Setting permissions

[2020-10-08 17:15:46] #### All Dependencies have been installed.

@AKAMEDIASYSTEM
Copy link

AKAMEDIASYSTEM commented Oct 11, 2020

I'm encountering the same error trying to install dependency adafruit_sgp30.

Fresh 8.8.6 install on an unmodified RasPi 3B+ running the Raspbian LITE image from 8-20-20.

My dependency install fails at:

`[2020-10-11 21:14:52] #### Installing/updating adafruit-circuitpython-sgp30 (pip-pypi)
[2020-10-11 21:14:56] Collecting adafruit-circuitpython-sgp30
[2020-10-11 21:14:56] Using cached adafruit-circuitpython-sgp30-2.3.1.tar.gz (20 kB)
[2020-10-11 21:15:05] Collecting Adafruit-Blinka
[2020-10-11 21:15:05] Using cached Adafruit-Blinka-5.5.1.tar.gz (110 kB)
[2020-10-11 21:15:13] Collecting adafruit-circuitpython-busdevice
[2020-10-11 21:15:13] Using cached adafruit-circuitpython-busdevice-5.0.1.tar.gz (22 kB)
[2020-10-11 21:15:22] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-11 21:15:22] Using cached Adafruit-PlatformDetect-2.18.0.tar.gz (28 kB)
[2020-10-11 21:15:32] Requirement already satisfied, skipping upgrade: Adafruit-PureIO>=1.1.6 in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->adafruit-circuitpython-sgp30) (1.1.6)
[2020-10-11 21:15:32] Collecting pyftdi>=0.40.0
[2020-10-11 21:15:32] Using cached pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-11 21:15:32] Requirement already satisfied, skipping upgrade: RPi.GPIO in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->adafruit-circuitpython-sgp30) (0.7.0)
[2020-10-11 21:15:33] Collecting rpi_ws281x>=4.0.0
[2020-10-11 21:15:33] Using cached rpi_ws281x-4.2.4-cp37-cp37m-linux_armv7l.whl (115 kB)
[2020-10-11 21:15:34] Collecting sysv_ipc
[2020-10-11 21:15:34] Using cached sysv_ipc-1.0.1.tar.gz (102 kB)
[2020-10-11 21:15:39] Collecting pyusb>=1.0.0
[2020-10-11 21:15:39] Using cached pyusb-1.1.0.tar.gz (78 kB)
[2020-10-11 21:15:39] Installing build dependencies: started
[2020-10-11 21:15:57] Installing build dependencies: finished with status 'done'
[2020-10-11 21:15:57] Getting requirements to build wheel: started
[2020-10-11 21:15:59] Getting requirements to build wheel: finished with status 'done'
[2020-10-11 21:15:59] ERROR: Exception:
[2020-10-11 21:15:59] Traceback (most recent call last):
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py", line 98, in init
[2020-10-11 21:15:59] req = REQUIREMENT.parseString(requirement_string)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pyparsing.py", line 1955, in parseString
[2020-10-11 21:15:59] raise exc
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pyparsing.py", line 3250, in parseImpl
[2020-10-11 21:15:59] raise ParseException(instring, loc, self.errmsg, self)
[2020-10-11 21:15:59] pip.vendor.pyparsing.ParseException: Expected W:(abcd...), found '' (at char 0), (line:1, col:1)
[2020-10-11 21:15:59]
[2020-10-11 21:15:59] During handling of the above exception, another exception occurred:
[2020-10-11 21:15:59]
[2020-10-11 21:15:59] Traceback (most recent call last):
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3101, in init
[2020-10-11 21:15:59] super(Requirement, self).init(requirement_string)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/packaging/requirements.py", line 102, in init
[2020-10-11 21:15:59] requirement_string[e.loc : e.loc + 8], e.msg
[2020-10-11 21:15:59] pip.vendor.packaging.requirements.InvalidRequirement: Parse error at "''": Expected W:(abcd...)
[2020-10-11 21:15:59]
[2020-10-11 21:15:59] During handling of the above exception, another exception occurred:
[2020-10-11 21:15:59]
[2020-10-11 21:15:59] Traceback (most recent call last):
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
[2020-10-11 21:15:59] status = self.run(options, args)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
[2020-10-11 21:15:59] return func(self, options, args)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 324, in run
[2020-10-11 21:15:59] reqs, check_supported_wheels=not options.target_dir
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
[2020-10-11 21:15:59] discovered_reqs.extend(self._resolve_one(requirement_set, req))
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
[2020-10-11 21:15:59] abstract_dist = self._get_abstract_dist_for(req_to_install)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 340, in _get_abstract_dist_for
[2020-10-11 21:15:59] abstract_dist = self.preparer.prepare_linked_requirement(req)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 483, in prepare_linked_requirement
[2020-10-11 21:15:59] req, self.req_tracker, self.finder, self.build_isolation,
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution
[2020-10-11 21:15:59] abstract_dist.prepare_distribution_metadata(finder, build_isolation)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
[2020-10-11 21:15:59] self._setup_isolation(finder)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/distributions/sdist.py", line 98, in _setup_isolation
[2020-10-11 21:15:59] conflicting, missing = self.req.build_env.check_requirements(reqs)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_internal/build_env.py", line 154, in check_requirements
[2020-10-11 21:15:59] if ws.find(Requirement.parse(req)) is None:
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3148, in parse
[2020-10-11 21:15:59] req, = parse_requirements(s)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3094, in parse_requirements
[2020-10-11 21:15:59] yield Requirement(line)
[2020-10-11 21:15:59] File "/home/pi/Mycodo/env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/init.py", line 3103, in init
[2020-10-11 21:15:59] raise RequirementParseError(str(e))
[2020-10-11 21:15:59] pip.vendor.pkg_resources.RequirementParseError: Parse error at "''": Expected W:(abcd...)

[2020-10-11 21:16:00] End install of adafruit_sgp30

[2020-10-11 21:16:00]
[2020-10-11 21:16:00] #### Setting permissions

[2020-10-11 21:16:01] #### All Dependencies have been installed.`

...pip module typing i not installed, but it does seem likely a pip issue is the root cause. (I also tried the reset-Mycodo's-environment fix mentioned in this thread with no change in outcome).

I attempted to roll pip back to 20.0.2, per this issue, but experienced the same outcome (plus a warning about using an outdated version of pip)

Any ideas would be much appreciated - it appears to be a string-parsing issue, but without digging into the sourcecode for pip I'm not sure how best to proceed.

Thank you!

AKA

@MILO-GM
Copy link
Author

MILO-GM commented Oct 12, 2020

I tried to install raspbian desktop instead of rapsbian lite on raspberry 4 and the dependencies install correctly. I hope this information can be useful in some way ...... thanks again for Mycodo !!!!

2020-10-12 11:49:10] Dependency installation beginning. Installing: python3-scipy,anyleaf,adafruit_extended_bus

[2020-10-12 11:49:10]
[2020-10-12 11:49:10] #### Installing/updating python3-scipy (apt)
[2020-10-12 11:49:11] Lettura elenco dei pacchetti...
[2020-10-12 11:49:12] Generazione albero delle dipendenze...
[2020-10-12 11:49:12] Lettura informazioni sullo stato...
[2020-10-12 11:49:13] I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
[2020-10-12 11:49:13] libjs-sphinxdoc libjs-underscore libpython-all-dev python-all python-all-dev
[2020-10-12 11:49:13] python-asn1crypto python-configparser python-cookies python-crypto
[2020-10-12 11:49:13] python-dbus python-entrypoints python-enum34 python-funcsigs python-jwt
[2020-10-12 11:49:13] python-keyrings.alt python-mock python-pbr python-responses python-wheel
[2020-10-12 11:49:13] python-xdg python3-asn1crypto python3-cookies python3-dbus
[2020-10-12 11:49:13] python3-entrypoints python3-jwt python3-responses
[2020-10-12 11:49:13] Usare "apt autoremove" per rimuoverli.
[2020-10-12 11:49:13] I seguenti pacchetti aggiuntivi saranno inoltre installati:
[2020-10-12 11:49:13] python3-decorator
[2020-10-12 11:49:13] Pacchetti suggeriti:
[2020-10-12 11:49:13] python-scipy-doc
[2020-10-12 11:49:13] I seguenti pacchetti NUOVI saranno installati:
[2020-10-12 11:49:13] python3-decorator python3-scipy
[2020-10-12 11:49:13] 0 aggiornati, 2 installati, 0 da rimuovere e 0 non aggiornati.
[2020-10-12 11:49:13] � necessario scaricare 8.925 kB di archivi.
[2020-10-12 11:49:13] Dopo quest'operazione, verranno occupati 38,0 MB di spazio su disco.
[2020-10-12 11:49:13] Scaricamento di:1 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-decorator all 4.3.0-1.1 [14,5 kB]
[2020-10-12 11:49:14] Scaricamento di:2 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-scipy armhf 1.1.0-7 [8.910 kB]
[2020-10-12 11:49:26] debconf: impossibile inizializzare il frontend: Dialog
[2020-10-12 11:49:26] debconf: (TERM non è impostata per cui il frontend a dialoghi non può essere usato.)
[2020-10-12 11:49:26] debconf: sarà usato il frontend: Readline
[2020-10-12 11:49:26] debconf: impossibile inizializzare il frontend: Readline
[2020-10-12 11:49:26] debconf: (Questo frontend richiede un terminale di controllo.)
[2020-10-12 11:49:26] debconf: sarà usato il frontend: Teletype
[2020-10-12 11:49:26] dpkg-preconfigure: impossibile riaprire stdin:
[2020-10-12 11:49:26] Recuperati 8.925 kB in 12s (755 kB/s)
[2020-10-12 11:49:26] Selezionato il pacchetto python3-decorator non precedentemente selezionato.
[2020-10-12 11:49:26] (Lettura del database...
(Lettura del database... 5%
(Lettura del database... 10%
(Lettura del database... 15%
(Lettura del database... 20%
(Lettura del database... 25%
(Lettura del database... 30%
(Lettura del database... 35%
(Lettura del database... 40%
(Lettura del database... 45%
(Lettura del database... 50%
(Lettura del database... 55%
(Lettura del database... 60%
(Lettura del database... 65%
(Lettura del database... 70%
(Lettura del database... 75%
(Lettura del database... 80%
(Lettura del database... 85%
(Lettura del database... 90%
(Lettura del database... 95%
(Lettura del database... 100%
(Lettura del database... 93548 file e directory attualmente installati.)
[2020-10-12 11:49:26] Preparativi per estrarre .../python3-decorator_4.3.0-1.1_all.deb...
[2020-10-12 11:49:26] Estrazione di python3-decorator (4.3.0-1.1)...
[2020-10-12 11:49:27] Selezionato il pacchetto python3-scipy non precedentemente selezionato.
[2020-10-12 11:49:27] Preparativi per estrarre .../python3-scipy_1.1.0-7_armhf.deb...
[2020-10-12 11:49:27] Estrazione di python3-scipy (1.1.0-7)...
[2020-10-12 11:49:31] Configurazione di python3-decorator (4.3.0-1.1)...
[2020-10-12 11:49:31] Configurazione di python3-scipy (1.1.0-7)...

[2020-10-12 11:49:37] End install of python3-scipy

[2020-10-12 11:49:37]
[2020-10-12 11:49:37] #### Installing/updating anyleaf (pip-pypi)
[2020-10-12 11:49:38] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2020-10-12 11:49:39] Collecting anyleaf
[2020-10-12 11:49:39] Downloading anyleaf-0.1.8.1-py3-none-any.whl (6.7 kB)
[2020-10-12 11:49:40] Collecting adafruit-circuitpython-ads1x15>=2.2.2
[2020-10-12 11:49:40] Downloading https://www.piwheels.org/simple/adafruit-circuitpython-ads1x15/adafruit_circuitpython_ads1x15-2.2.3-py3-none-any.whl (12 kB)
[2020-10-12 11:49:41] Collecting adafruit-circuitpython-max31865>=2.2.3
[2020-10-12 11:49:41] Downloading https://www.piwheels.org/simple/adafruit-circuitpython-max31865/adafruit_circuitpython_max31865-2.2.4-py3-none-any.whl (7.8 kB)
[2020-10-12 11:49:41] Collecting filterpy>=1.4.5
[2020-10-12 11:49:41] Downloading https://www.piwheels.org/simple/filterpy/filterpy-1.4.5-py3-none-any.whl (109 kB)
[2020-10-12 11:49:42] Collecting Adafruit-Blinka
[2020-10-12 11:49:43] Downloading https://www.piwheels.org/simple/adafruit-blinka/Adafruit_Blinka-5.5.1-py3-none-any.whl (133 kB)
[2020-10-12 11:49:43] Collecting adafruit-circuitpython-busdevice
[2020-10-12 11:49:43] Downloading https://www.piwheels.org/simple/adafruit-circuitpython-busdevice/adafruit_circuitpython_busdevice-5.0.1-py3-none-any.whl (7.7 kB)
[2020-10-12 11:49:44] Requirement already satisfied, skipping upgrade: numpy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.16.2)
[2020-10-12 11:49:45] Collecting matplotlib
[2020-10-12 11:49:45] Downloading https://www.piwheels.org/simple/matplotlib/matplotlib-3.3.2-cp37-cp37m-linux_armv7l.whl (11.6 MB)
[2020-10-12 11:50:04] Requirement already satisfied, skipping upgrade: scipy in /usr/lib/python3/dist-packages (from filterpy>=1.4.5->anyleaf) (1.1.0)
[2020-10-12 11:50:04] Requirement already satisfied, skipping upgrade: RPi.GPIO in /usr/lib/python3/dist-packages (from Adafruit-Blinka->adafruit-circuitpython-ads1x15>=2.2.2->anyleaf) (0.7.0)
[2020-10-12 11:50:04] Collecting rpi-ws281x>=4.0.0
[2020-10-12 11:50:05] Downloading rpi_ws281x-4.2.4-cp37-cp37m-linux_armv7l.whl (115 kB)
[2020-10-12 11:50:05] Collecting Adafruit-PureIO>=1.1.6
[2020-10-12 11:50:05] Downloading https://www.piwheels.org/simple/adafruit-pureio/Adafruit_PureIO-1.1.6-py3-none-any.whl (12 kB)
[2020-10-12 11:50:06] Collecting sysv-ipc
[2020-10-12 11:50:06] Downloading https://www.piwheels.org/simple/sysv-ipc/sysv_ipc-1.0.1-cp37-cp37m-linux_armv7l.whl (68 kB)
[2020-10-12 11:50:07] Collecting Adafruit-PlatformDetect>=2.18.0
[2020-10-12 11:50:07] Downloading https://www.piwheels.org/simple/adafruit-platformdetect/Adafruit_PlatformDetect-2.18.0-py3-none-any.whl (18 kB)
[2020-10-12 11:50:08] Collecting pyftdi>=0.40.0
[2020-10-12 11:50:08] Downloading pyftdi-0.52.0-py3-none-any.whl (150 kB)
[2020-10-12 11:50:11] Collecting kiwisolver>=1.0.1
[2020-10-12 11:50:11] Downloading https://www.piwheels.org/simple/kiwisolver/kiwisolver-1.2.0-cp37-cp37m-linux_armv7l.whl (1.5 MB)
[2020-10-12 11:50:15] Collecting pillow>=6.2.0
[2020-10-12 11:50:15] Downloading https://www.piwheels.org/simple/pillow/Pillow-7.2.0-cp37-cp37m-linux_armv7l.whl (1.3 MB)
[2020-10-12 11:50:17] Collecting cycler>=0.10
[2020-10-12 11:50:17] Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
[2020-10-12 11:50:18] Requirement already satisfied, skipping upgrade: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in ./env/lib/python3.7/site-packages (from matplotlib->filterpy>=1.4.5->anyleaf) (2.4.7)
[2020-10-12 11:50:18] Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in ./env/lib/python3.7/site-packages (from matplotlib->filterpy>=1.4.5->anyleaf) (2.8.1)
[2020-10-12 11:50:18] Collecting certifi>=2020.06.20
[2020-10-12 11:50:18] Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
[2020-10-12 11:50:18] Requirement already satisfied, skipping upgrade: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-ads1x15>=2.2.2->anyleaf) (3.4)
[2020-10-12 11:50:19] Collecting pyusb>=1.0.0
[2020-10-12 11:50:19] Downloading https://www.piwheels.org/simple/pyusb/pyusb-1.1.0-py3-none-any.whl (58 kB)
[2020-10-12 11:50:19] Requirement already satisfied, skipping upgrade: six in /usr/lib/python3/dist-packages (from cycler>=0.10->matplotlib->filterpy>=1.4.5->anyleaf) (1.12.0)
[2020-10-12 11:50:20] Installing collected packages: rpi-ws281x, Adafruit-PureIO, sysv-ipc, Adafruit-PlatformDetect, pyusb, pyftdi, Adafruit-Blinka, adafruit-circuitpython-busdevice, adafruit-circuitpython-ads1x15, adafruit-circuitpython-max31865, kiwisolver, pillow, cycler, certifi, matplotlib, filterpy, anyleaf
[2020-10-12 11:50:22] Attempting uninstall: pillow
[2020-10-12 11:50:22] Found existing installation: Pillow 5.4.1
[2020-10-12 11:50:22] Not uninstalling pillow at /usr/lib/python3/dist-packages, outside environment /home/pi/Mycodo/env
[2020-10-12 11:50:22] Can't uninstall 'Pillow'. No files were found to uninstall.
[2020-10-12 11:50:22] Attempting uninstall: certifi
[2020-10-12 11:50:22] Found existing installation: certifi 2018.8.24
[2020-10-12 11:50:22] Not uninstalling certifi at /usr/lib/python3/dist-packages, outside environment /home/pi/Mycodo/env
[2020-10-12 11:50:22] Can't uninstall 'certifi'. No files were found to uninstall.
[2020-10-12 11:50:26] Successfully installed Adafruit-Blinka-5.5.1 Adafruit-PlatformDetect-2.18.0 Adafruit-PureIO-1.1.6 adafruit-circuitpython-ads1x15-2.2.3 adafruit-circuitpython-busdevice-5.0.1 adafruit-circuitpython-max31865-2.2.4 anyleaf-0.1.8.1 certifi-2020.6.20 cycler-0.10.0 filterpy-1.4.5 kiwisolver-1.2.0 matplotlib-3.3.2 pillow-7.2.0 pyftdi-0.52.0 pyusb-1.1.0 rpi-ws281x-4.2.4 sysv-ipc-1.0.1

[2020-10-12 11:50:27] End install of anyleaf

[2020-10-12 11:50:27]
[2020-10-12 11:50:27] #### Installing/updating Adafruit_Extended_Bus (pip-pypi)
[2020-10-12 11:50:28] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2020-10-12 11:50:29] Collecting Adafruit_Extended_Bus
[2020-10-12 11:50:29] Downloading https://www.piwheels.org/simple/adafruit-extended-bus/adafruit_extended_bus-1.0.0-py3-none-any.whl (4.9 kB)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: Adafruit-Blinka in ./env/lib/python3.7/site-packages (from Adafruit_Extended_Bus) (5.5.1)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: rpi-ws281x>=4.0.0 in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (4.2.4)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: pyftdi>=0.40.0 in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (0.52.0)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: Adafruit-PureIO>=1.1.6 in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (1.1.6)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: sysv-ipc in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (1.0.1)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: Adafruit-PlatformDetect>=2.18.0 in ./env/lib/python3.7/site-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (2.18.0)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: RPi.GPIO in /usr/lib/python3/dist-packages (from Adafruit-Blinka->Adafruit_Extended_Bus) (0.7.0)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->Adafruit_Extended_Bus) (3.4)
[2020-10-12 11:50:29] Requirement already satisfied, skipping upgrade: pyusb>=1.0.0 in ./env/lib/python3.7/site-packages (from pyftdi>=0.40.0->Adafruit-Blinka->Adafruit_Extended_Bus) (1.1.0)
[2020-10-12 11:50:30] Installing collected packages: Adafruit-Extended-Bus
[2020-10-12 11:50:31] Successfully installed Adafruit-Extended-Bus-1.0.0

[2020-10-12 11:50:31] End install of adafruit_extended_bus

[2020-10-12 11:50:31]
[2020-10-12 11:50:31] #### Setting permissions

[2020-10-12 11:50:32] #### All Dependencies have been installed.

@David-OConnor
Copy link
Contributor

I'm glad this worked out, and that's useful information about the Raspbian distro. I'm suspicious this is caused by the Lite version of Raspian missing some system dependencies that Scipy relies on. (And perhaps these are installable using apt, to prevent the need to install a new OS).

@AKAMEDIASYSTEM
Copy link

Thanks for sharing the solution! Using the non-LITE Raspian distro fixed this issue for me as well.

@kizniche
Copy link
Owner

kizniche commented Oct 20, 2020

All of my Raspbian installs are Lite, but they don't suffer from this issue, so it's likely something introduced recently. If I get some time, I'll install the latest Lite version and experiment to discover any conflicts/dependencies that aren't accounted for.

@kizniche kizniche added the bug label Oct 20, 2020
@kizniche
Copy link
Owner

I've been trying to track down this issue, but haven't made any conclusions yet. However, I have found that I can install Adafruit_Extended_Bus to the Mycodo virtual env when I run pip install as a user, but it fails with the aforementioned error when it's run as root (user used when installing dependencies). I've never encountered this before and there doesn't appear to be an obvious issue. I'll keep looking for a solution, but if anyone has better knowledge than I about the workings of pip and can shed some light on this, let me know.

@Magnum-Pl
Copy link

I had the same issue when trying to install Adafruit_Extended_Bus for the MCP4728 in #893. I was able to get it to work after installing pyusb as a user.

@kizniche
Copy link
Owner

kizniche commented Dec 21, 2020

I'm closer to finding the issue, but in the meantime, I found a fix for the several sensors that have pyusb as a dependency. I found that the latest version (1.1.0) won't install as root, but the next lower version (1.0.2) will. Since Adafruit_Extended_Bus needs >= 1.0.0, specifying version pyusb==1.0.2 in the dependency line seems to work.

The install will fail with this command:

sudo ~/Mycodo/env/bin/pip3 install Adafruit_Extended_Bus

The install will succeed with these commands:

sudo ~/Mycodo/env/bin/pip3 install pyusb==1.0.2
sudo ~/Mycodo/env/bin/pip3 install Adafruit_Extended_Bus

@kizniche
Copy link
Owner

Alright, I might put this issue to bed. I'm not really getting anywhere with getting 1.1.0 installed. However, I did find apt has the package python3-usb, which I think might be what's installed by default on the Desktop but not the Lite version of the Raspberry Pi OS. If so, that may explain why this issue doesn't present itself on the Desktop version, as it installs pyusb 1.0.2.

kizniche added a commit that referenced this issue Dec 22, 2020
…te stepper motor output module, add Message and New Line options to Custom Outputs
@kizniche
Copy link
Owner

The latest release of pyusb (1.1.1, Jan 20, 2021) seems to have fixed the install issue.

@MILO-GM
Copy link
Author

MILO-GM commented Jan 24, 2021

Thank you very much Kyle!

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

No branches or pull requests

5 participants