I can't install python libraries with sudo easy_install3 on ev3dev

150 Views Asked by At

I tried to install specific libraries on ev3dev using sudo easy_install3. But it doesnt't let me do this. Whatever library I tried to install it always writes the same. For example here I tried to install opencv

sudo easy_install3 pyopencv
Searching for pyopencv
Reading https://pypi.python.org/simple/pyopencv/
Download error on https://pypi.python.org/simple/pyopencv/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'pyopencv' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for pyopencv
error: Could not find suitable distribution for Requirement.parse('pyopencv')

I tried to write different names of the same library and I tried to install other libraries, but it always writes the same thing.

1

There are 1 best solutions below

2
gour On
sudo apt-get install python3-pip
pip3 install opencv-python