Skip to content

Tag: linux

Error building caffe – cannot find -lhdf5_hl

I was following this guide to install caffe. I am using ubuntu 16.04 and installing caffe for cpu only(i don’t have Nvidia gpu). https://chunml.github.io/ChunML.github.io/project/Installing-Caffe-CPU-Only/ But encountered the following error : Can someone please help me figure out how to get past this? …

Identify virtual network interface in c

I am trying to find which interface my device is running on with C. I scanned all interfaces with ioctl, I arranged the result as : I used getifaddrs() to get list of interfces, then ioctl (IP using SIOCGIFADDR), (flags using SIOCGIFFLAGS) enum net_device_flags, and (mac using SIOCGIFHWADDR). From the list, I…

SyntaxError on input() supposedly in Python 3

I have a script for sending emails using SMTP_SSL. The code is working fine in PyCharm but in the terminal I get an error. This is the code: When I run this in my terminal its giving this after i enter the email: When I am trying to put the email between quotes, e.g. “mahmoud.wizzo@gmail.com” its …

Unable to yum install in fedora even as root user

Getting the error Error: This command has to be run under the root user. when I try to install in Fedora as root user. Tried in different ways: Is there any security setting that is causing this? I am trying all of the above commands by remotely sshing to the machine. Answer Your root user seems to be corrupt…

ov5642 not working in 30fps

We have a customized i.MX6Q Board based on sabrelite reference board. We have the following configuration: Linux : 3.10.53 Gstreamer 1.0 latest i.MX6 Plugins We connected OV5642 Camera over CSI Interface..Used the following command to display the camera output on the screen. It works, but initially, it takes …