make sure you have followed the instructions I gave on installing caffe packages and specially the following steps without any error:

sudo apt-get install -y build-essential cmake git pkg-config libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libatlas-base-dev libgflags-dev libgoogle-glog-dev liblmdb-dev  python3-dev python-numpy python-scipy libopencv-dev liblapack-dev liblapack3 libopenblas-base libopenblas-dev # libjasper-devsudo apt-get install -y --no-install-recommends libboost-all-devcd /usr/lib/x86_64-linux-gnu
sudo ln -s libhdf5_serial.so.100.0.1 libhdf5.so
sudo ln -s libhdf5_serial_hl.so.100.0.0 libhdf5_hl.so
export PATH_HDF5=/usr/include/hdf5/serial/

if that didnt solve your issue, follow the instructions from here:

Written by

PhD — Data Scientist | ML engineer (soja.me)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store