【发布时间】:2021-02-14 09:59:12
【问题描述】:
我正在尝试使用 64 位版本的 raspbian(可以在这里找到:https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370
我下载了它,安装了所有东西,运行了我的更新,然后打开了相机。但是当我尝试运行它时,PI 只是回馈
bash: /opt/vc/bin/raspistill: No such file or directory
当我执行 ls 时,我可以看到目录很好:
pi@raspberrypi:/opt/vc/bin $ ls
containers_check_frame_int containers_test dtoverlay-pre raspiyuv
containers_datagram_receiver containers_test_bits dtparam tvservice
containers_datagram_sender containers_test_uri edidparser vcdbg
containers_dump_pktfile containers_uri_pipe mmal_vc_diag vcgencmd
containers_rtp_decoder dtmerge raspistill vchiq_test
containers_stream_client dtoverlay raspivid vcmailbox
containers_stream_server dtoverlay-post raspividyuv vcsmem
当我查看权限时,每个人都有读取/执行权限:
-rwxr-xr-x 1 root root 142397 Nov 1 16:25 raspistill
我有点不知所措 - 文件就在那里,为什么当我尝试从命令行调用它时找不到它?
【问题讨论】:
-
尝试运行
type raspistill以查看执行raspistill时实际运行的内容当您找到实际运行的内容时,尝试在其上运行file XYZ以查看它是否是脚本。如果是,请尝试使用bash -xv THATSCRIPT运行它以跟踪其执行情况。 -
有什么更新吗?也有这个问题,下面附上单独的命令及其输出
-
ubuntu64@ubuntu:~/dev/raspberry-pi-userland$ type raspistill raspistill 被散列(/opt/vc/bin/raspistill)
-
ubuntu64@ubuntu:~/dev/raspberry-pi-userland$ 文件 /opt/vc/bin/raspistill /opt/vc/bin/raspistill:ELF 32 位 LSB 可执行文件,ARM,EABI5版本 1 (SYSV),动态链接,解释器 /lib/ld-linux.so.3,用于 GNU/Linux 3.1.9,带有 debug_info,未剥离
-
我的树莓派 4 64 也有同样的问题
标签: raspberry-pi raspbian raspberry-pi4 raspistill