Coder Social home page Coder Social logo

Comments (20)

noranart avatar noranart commented on June 21, 2024 34

Mine is solved by:
sudo apt-get install libosmesa6-dev
pip2 install opendr

from opendr.

bylowerik avatar bylowerik commented on June 21, 2024 27

I had the same problem, tried Ubuntu 14,16 and 18, all with python2.7.

Then I used apt-cache search *osmesa* and found libosmesa6-dev which I installed.

pip install opendr worked flawless using a virtualenv with python 3.6.

Sometimes it is easy. :)

from opendr.

shehan0 avatar shehan0 commented on June 21, 2024 7

This worked for me.

sudo apt install libosmesa6-dev
sudo apt-get install build-essential
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install freeglut3-dev
—————

from opendr.

abeacco avatar abeacco commented on June 21, 2024

The same is happening here today.
Any ideas?

from opendr.

henryclever avatar henryclever commented on June 21, 2024

Today, it appears the mesa3D website is back up; however, the error remains.

H

from opendr.

neonb88 avatar neonb88 commented on June 21, 2024

Is OSMesa correctly installed on your machine? That seems to be what your error message is telling you.

-n8

from opendr.

neonb88 avatar neonb88 commented on June 21, 2024

Also, it would be very helpful if you could include machine information. For instance, are you trying to install with python2? python3? Version of OS you are using, etc. I'm sure there are forms online for specifying all the details.

from opendr.

henryclever avatar henryclever commented on June 21, 2024

Thanks for the response. I'll get back to you on Monday when I'm on my work machine that has this issue. -
H

from opendr.

henryclever avatar henryclever commented on June 21, 2024

Hi,

I've got the same problem on two separate machines. One has 16.04 and an Nvidia 1070Ti and the other with 14.04 and a 720. Both are using Python 2.7. My other machines where opendr works fine are matching 16.04/1070Ti machines and my laptop with has 14.04 and an Intel GPU. All Python 2.7.

I haven't build OSMesa from source on any of the computers I'm using where opendr was (and is) working.

I have run: sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev though and with no errors.

No errors when I run glxinfo | grep "OpenGL version".

I'll need to dig into this more to get other information, but if this helps you possibly ID the issue, it would be great!

Henry C.

from opendr.

yyf8989 avatar yyf8989 commented on June 21, 2024

same problem

from opendr.

yyf8989 avatar yyf8989 commented on June 21, 2024

It seems today I am unable to install opendr. I've not had trouble with it in the past. When I install with pip, it gives the error /usr/bin/ld: cannot find -lOSMesa collect2: error: ld returned 1 exit status.

Also, I noticed that the mesa website seems to be down:
https://www.mesa3d.org/osmesa.html

Perhaps these two issues are linked? Has anyone else had this issue, and if so, what is the workaround?

Thanks!
Henry C.

have you solved it?

from opendr.

henryclever avatar henryclever commented on June 21, 2024

It seems today I am unable to install opendr. I've not had trouble with it in the past. When I install with pip, it gives the error /usr/bin/ld: cannot find -lOSMesa collect2: error: ld returned 1 exit status.
Also, I noticed that the mesa website seems to be down:
https://www.mesa3d.org/osmesa.html
Perhaps these two issues are linked? Has anyone else had this issue, and if so, what is the workaround?
Thanks!
Henry C.

have you solved it?

No, I have not solved it.

-Henry C.

from opendr.

henryclever avatar henryclever commented on June 21, 2024

Got it installed, but required building from source.

clone the repo and then git checkout 17ad5c4. It's an earlier version but works fine for all I need.

Henry C.

from opendr.

yyf8989 avatar yyf8989 commented on June 21, 2024

Got it installed, but required building from source.

clone the repo and then git checkout 17ad5c4. It's an earlier version but works fine for all I need.

Henry C.

I solved it by installing llvm-8.0.0 and opendr from source.

from opendr.

sudiptabiswas22 avatar sudiptabiswas22 commented on June 21, 2024

@henryclever @yyf8989 can you please write down the detailed steps including every command? I used the following commands and apparently opendr is not getting installed in my virtual env.
sudo git clone "https://github.com/mattloper/opendr.git"
cd opendr
sudo git checkout 17ad5c4
sudo python setup.py install

Screenshot from 2019-04-03 16-31-59

from opendr.

ChenDRAG avatar ChenDRAG commented on June 21, 2024

I had the same problem, tried Ubuntu 14,16 and 18, all with python2.7.

Then I used apt-cache search *osmesa* and found libosmesa6-dev which I installed.

pip install opendr worked flawless using a virtualenv with python 3.6.

Sometimes it is easy. :)

It worked like magic! Thanks.

from opendr.

sudiptabiswas22 avatar sudiptabiswas22 commented on June 21, 2024

@bylowerik it is indeed magic. Thanks :)

from opendr.

gsygsy96 avatar gsygsy96 commented on June 21, 2024

Sad.... the error still exits when I install under virtualenv. Anyone can help me?
My Operation:

  1. apt-cache search "osmesa"
  2. pip install opendr

from opendr.

sudiptabiswas22 avatar sudiptabiswas22 commented on June 21, 2024

@mehemeha998 have you installed libosmesa6-dev? You can download and install from the following link as well.
https://packages.debian.org/sid/libosmesa6-dev

from opendr.

fhuzero avatar fhuzero commented on June 21, 2024

Mine is solved by:
sudo apt-get install libosmesa6-dev
pip2 install opendr

It works for me, too!

from opendr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.