I have two Raspberry Pi 3. When I do
(tfenv)pi@raspberrypi:~ $ pip install opencv-python==
on the first Raspberry Pi, I get :
Collecting opencv-python
Could not find a version that satisfies the requirement opencv-python==
(from versions: 3.1.0.0, 3.1.0.1, 3.1.0.2, 3.1 .0.3, 3.1.0.5, 3.2.0.6, 3.2.0.7) No matching distribution found for opencv-python==
On the second Raspberry Pi, I get:
Collecting opencv-python
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
I suspect that to happen due to the different version of Raspbian installed on each. Raspberry Pi 2 has Strech
installed and Raspberry Pi 2 has Jessie
Am I correct or something else is wrong?
UPDATE
I used pip install --verbose opencv-python==
and here is the result:
Rasberry Pi that has pip not working
Skipping link https://files.pythonhosted.org/packages/2b/31/cc5cf31258dc2cbb50dd1b046164add33804eab7af036d86aa68d45c7f6c/opencv_python-3.4.1.15-cp36-cp36m-win_amd64.whl#sha256=2cea809afe32cdccf97d66b131afc0fed80076244fb77b68ad9bf016d9cdc261 (from https://pypi.org/simple/opencv-python/); it is not compatible with this Python
Could not find a version that satisfies the requirement opencv-python== (from versions: )
Cleaning up...
No matching distribution found for opencv-python==
Exception information:
Traceback (most recent call last):
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/basecommand.py", line 228, in main
status = self.run(options, args)
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/commands/install.py", line 291, in run
resolver.resolve(requirement_set)
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/resolve.py", line 103, in resolve
self._resolve_one(requirement_set, req)
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/resolve.py", line 257, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/resolve.py", line 210, in _get_abstract_dist_for
self.require_hashes
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/operations/prepare.py", line 245, in prepare_linked_requirement
req.populate_link(finder, upgrade_allowed, require_hashes)
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/req/req_install.py", line 307, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/home/pi/.conda/envs/tfenv/lib/python3.4/site-packages/pip/_internal/index.py", line 533, in find_requirement
'No matching distribution found for %s' % req
pip._internal.exceptions.DistributionNotFound: No matching distribution found for opencv-python==
Raspberry Pi that has pip working correctly