我需要在.py
上按python3.5
运行Raspberry-Pi
个文件。首先,我需要安装packages
,例如OpenCV
或其他。
pi@raspberrypi:~ $ sudo pip3 install opencv-python
Collecting opencv-python
Could not find a version that satisfies the requirement opencv-python (from versions: )
No matching distribution found for opencv-python
适用于python2
pip install opencv-python
。但它对python3
不起作用。
pip3 -V
命令显示pip 10.0.1 from /home/pi/.local/lib/python3.5/site-packages/pip (python 3.5)
。
我忘记了什么吗?