How to install Openpose without using cmake-gui in Linux?
I wish to install the openpose in Linux such as Ubuntu. Unfortunately, all I can do is use the console command to interact with the installation, which means I can't use an interactive interface such as cmake-gui to finish the installation.
Alternatively, I use cmake .. -DBUILD_PYTHON=ON to install it.
However, according to my experience installing openpose in Windows successfully, it seems like I need further to point the python executable link such as python.exe if I use conda to handle the environment. Therefore, I failed to install it.
Any help will be appreciated in advance!!!
Looks like using conda is not preferred as written in this link.
I installed Openpose in Ubuntu 20.04.6 (cuda11.8, cudnn8) by using following commands.
apt-get -y --no-install-recommends upgrade && \
apt-get install -y --no-install-recommends \
build-essential \
cmake \
git \
libatlas-base-dev \
libprotobuf-dev \
libleveldb-dev \
libsnappy-dev \
libhdf5-serial-dev \
protobuf-compiler \
libboost-all-dev \
libgflags-dev \
libgoogle-glog-dev \
liblmdb-dev \
pciutils \
python3-setuptools \
python3-dev \
python3-pip \
opencl-headers \
ocl-icd-opencl-dev \
libviennacl-dev \
libcanberra-gtk-module \
libopencv-dev
python3 -m pip install \
numpy \
protobuf \
opencv-python
git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose.git && \
mkdir -p openpose/build && \
cd openpose/build && \
cmake .. && \
make -j`nproc`
I think this should be in the documentation. Almost impossible to make OpenPose run on linux terminal with current documentation.