NickWaterton / Roomba980-Python

Python program and library to control iRobot Roomba 980 Vacuum Cleaner
MIT License
377 stars 106 forks source link

Cannot install script #83

Open Taurenlord opened 4 years ago

Taurenlord commented 4 years ago

Hi Community,

Following system: Ubuntu 18,04 Openhabian Pyhton3

i have following error:

` Collecting git+https://github.com/NickWaterton/Roomba980-Python.git Cloning https://github.com/NickWaterton/Roomba980-Python.git to /tmp/pip-CwsDqk-build Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages (from Roomba980-Python==1.2.3) Collecting opencv-python (from Roomba980-Python==1.2.3) Using cached https://files.pythonhosted.org/packages/a1/d6/8422797e35f8814b1d9842530566a949d9b5850a466321a6c1d5a99055ee/opencv-python-4.3.0.38.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-S370Ko/opencv-python/setup.py", line 448, in main() File "/tmp/pip-build-S370Ko/opencv-python/setup.py", line 99, in main % {"ext": re.escape(sysconfig.get_config_var("EXT_SUFFIX"))} File "/usr/lib/python2.7/re.py", line 210, in escape s = list(pattern) TypeError: 'NoneType' object is not iterable

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-S370Ko/opencv-python/ root@APP02:~# `

NickWaterton commented 4 years ago

You have some sort of problem installing opencv-python. you may need to install as su using sudo.

tonlam commented 3 years ago

Try pip2 install opencv-python==4.2.0.32

NickWaterton commented 3 years ago

You actually need opencv-contrib-python==3.2.0.7

Version 4 of opencv leaves out some important commands.