Closed benjaminabruzzo closed 5 years ago
I cant help you if you dont post your cmake and make logs
Also did you try running the examples in tutorial_api_python?
Yes, it was while trying those tutorials that I discovered the python bit was not present.
These are the only log files I see, is there any in specific that I am missing that I should have in my build dir?
CMakeOutput.log: https://pastebin.com/z1Z9FJUY CMakeError.log: https://pastebin.com/MYfhuTLK
This does not look like any log I have seen.
Did you run
cmake ..
make
?
I did. Specifically, I ran these commands
cmake ..
cmake-gui
make -j`nproc`
sudo make install
It built successfully enough to test using the quickstart command:
./build/examples/openpose/openpose.bin --video examples/media/video.avi
I just can't get the python configuration to build as well.
Hi, the build log is suppose to look like this actually:
https://travis-ci.org/CMU-Perceptual-Computing-Lab/openpose/jobs/489213901
I'm not sure why yours looks like that
I'm sorry, I was being dense. You just cut and pasted from the terminal.
I did an rm -rf
on the openpose installation folder and started over. I'm currently getting this error during make/install:
make -j4 : https://pastebin.com/vS5kDAJi
sudo make install: https://pastebin.com/k9A4DsYV
I'm not sure, but it seems like there is an issue with either CUDA10.0 or with eigen.
This issue doesnt have to do with Python Anymore, please close this and make a new issue related to this
I suggest you just do make
instead of make -j4
so the error is easier to read.
Also please give the output of cmake ..
(edited for formatting, 2019-02-06)
Issue Summary
Following install instructions, python libraries not compiled. Neither of these files are getting created: pyopenpose.cpython-35m-x86_64-linux-gnu.so pyopenpose.so
Executed Command (if any)
Both of these commands work
Ubuntu and Mac
'./build/examples/openpose/openpose.bin --video examples/media/video.avi'
With face and hands
'./build/examples/openpose/openpose.bin --video examples/media/video.avi --face --hand'
Type of Issue
Installation issue
Your System Configuration
ImportError: cannot import name pyopenpose
https://pastebin.com/ggGYPHSM
OpenPose version: Latest GitHub code: 2a80c66
General configuration:
Operating system (
lsb_release -a
in Ubuntu): No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenialOperating system version Ubuntu 16.04.5 LTS
Release or Debug mode? (by default: release):
Compiler default native compilers
Installation mode:
mkdir -p ~/CMU/ && cd ~/CMU && git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose cd ~/CMU/openpose && git pull origin master
mkdir -p cd ~/CMU/openpose/build && cd ~/CMU/openpose/build && cmake .. # This takes a while, just be patient cmake-gui
"Where is the source code?" /home/benjamin/CMU/openpose
"Where to build the binaries?" /home/benjamin/CMU/openpose/build
check BUILD_PYTHON
check USE_PYTHON_INCLUDE_DIR
Install Eigen
make -j
nproc
sudo make install