Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install Openpose without using cmake-gui in Linux? #2314

Open
RevelationH opened this issue Sep 10, 2024 · 1 comment
Open

How to install Openpose without using cmake-gui in Linux? #2314

RevelationH opened this issue Sep 10, 2024 · 1 comment

Comments

@RevelationH
Copy link

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!!!

@HeaIn
Copy link

HeaIn commented Oct 4, 2024

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants