Comments (20)
Mine is solved by:
sudo apt-get install libosmesa6-dev
pip2 install opendr
from opendr.
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.
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.
The same is happening here today.
Any ideas?
from opendr.
Today, it appears the mesa3D website is back up; however, the error remains.
H
from opendr.
Is OSMesa correctly installed on your machine? That seems to be what your error message is telling you.
-n8
from opendr.
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.
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.
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.
same problem
from opendr.
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.htmlPerhaps 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.
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.
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.
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.
@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
from opendr.
I had the same problem, tried Ubuntu 14,16 and 18, all with python2.7.
Then I used
apt-cache search *osmesa*
and foundlibosmesa6-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.
@bylowerik it is indeed magic. Thanks :)
from opendr.
Sad.... the error still exits when I install under virtualenv. Anyone can help me?
My Operation:
- apt-cache search "osmesa"
- pip install opendr
from opendr.
@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.
Mine is solved by:
sudo apt-get install libosmesa6-dev
pip2 install opendr
It works for me, too!
from opendr.
Related Issues (20)
- FramebufferTexture2D and CheckFramebufferStatus in opendr
- Install debug
- How to render when I use orthogonal projection camera model? HOT 1
- Can opendr install on Window 10? HOT 5
- Is it possible to use Opendr to save the 3d representation in 3d format itself
- ze HOT 1
- AttributeError: 'Minimal' object has no attribute 'v' HOT 5
- render only the wireframe
- 'numpy.float64' object cannot be interpreted as an integer HOT 1
- how to solve to problem about import opendr HOT 2
- the problem of "ImportError: No module named ctx_mesa" HOT 7
- Error in installtion pip install opendr HOT 1
- glext.h expected ‘const GLchar **’ {aka ‘const char **’} but argument is of type ‘char **’ HOT 1
- Renderer.r contains only 0 HOT 1
- How can I install OpenDR in CentOS 7 for Python 3?
- compile has passed in mac os(m1)
- OSMesa zip file
- ModuleNotFoundError: No module named '_constants' HOT 3
- Installation issue in ARM Processor aarch64
- Here's how to install it on MacOS!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendr.