Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我可以在Raspberry Pi 2模型B上使用picamera和这个版本的Ubuntu吗?_Python_Linux_Ubuntu_Raspberry Pi_Raspberry Pi2 - Fatal编程技术网

Python 我可以在Raspberry Pi 2模型B上使用picamera和这个版本的Ubuntu吗?

Python 我可以在Raspberry Pi 2模型B上使用picamera和这个版本的Ubuntu吗?,python,linux,ubuntu,raspberry-pi,raspberry-pi2,Python,Linux,Ubuntu,Raspberry Pi,Raspberry Pi2,我曾经在我的Raspberry Pi模型B上使用,以及Raspbian操作系统上的a 现在我在跑步。但是,我不能再使用picamera了,因为我无法启用Raspberry Pi摄像头。我无法启用Raspberry Pi摄像头,因为可以说我没有Raspberry Pi固件。我实际上有Ubuntu-rpi2固件 以下是uname-a的输出: 甚至有可能运行Ubuntu并拥有必要的RPi固件来同时使用RPi摄像头吗?根据fo0bar的帖子»2015年2月27日星期五凌晨3:49通过PPA预建,固件的可

我曾经在我的Raspberry Pi模型B上使用,以及Raspbian操作系统上的a

现在我在跑步。但是,我不能再使用picamera了,因为我无法启用Raspberry Pi摄像头。我无法启用Raspberry Pi摄像头,因为可以说我没有Raspberry Pi固件。我实际上有Ubuntu-rpi2固件

以下是uname-a的输出:

甚至有可能运行Ubuntu并拥有必要的RPi固件来同时使用RPi摄像头吗?

根据fo0bar的帖子»2015年2月27日星期五凌晨3:49通过PPA预建,固件的可用性也在上说明。我没有带ubuntu的rpi2,但我假设PPA已经在您的/etc/apt/sources.list中了。如果没有,请参阅有关如何添加的说明

那么,试试看

sudo apt get安装libraspberrypi bin libraspberrypi dev

并确保从启用相机

拉斯皮配置

Linux ubuntu 3.18.0-20-rpi2 #21-Ubuntu SMP PREEMPT Sun Apr 5 01:56:02 UTC 2014 armv71 armv71 armv71 GNU/Linux