akanazawa / hmr

Project page for End-to-end Recovery of Human Shape and Pose
Other
1.54k stars 395 forks source link

Can't install opendr due to "cannot find -lOSMesa " #84

Closed zsw667291 closed 5 years ago

zsw667291 commented 5 years ago

run code pip install -r requirements.txt it told me " /usr/bin/ld: cannot find -lOSMesa /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Failed building wheel for opendr"

how do I fix it?

neonb88 commented 5 years ago

Try doing pip install opendr==0.77 within a virtualenv on python2. Please follow Ms. Kanazawa's instructions on the README as carefully as possible.

svarnypetr commented 5 years ago

Sorry for posting on a closed issue, but why is it then not added to the requirements.txt ?

akanazawa commented 5 years ago

Updated, ty. Unfortunately I'm not on this all the time. I always welcome pull requests :)