Comments (15)
@Jankd @VVingerfly you need to use pip verison 9.0.1 to actually install opendr
pip install pip==9.0.1
from opendr.
Is there anything that I can do to fix this?
C:\Python27>pip install opendr
Collecting opendr
Using cached opendr-0.76.tar.gz
Complete output from command python setup.py egg_info:
Downloading OSMesa.Windows.AMD64.zip
Traceback (most recent call last):
File "", line 1, in
File "c:\users\jankd1\appdata\local\temp\pip-build-vejziu\opendr\setup.py", line 151, in
main()
File "c:\users\jankd1\appdata\local\temp\pip-build-vejziu\opendr\setup.py", line 140, in main
download_osmesa()
File "c:\users\jankd~1\appdata\local\temp\pip-build-vejziu\opendr\setup.py", line 43, in download_osmesa
wget('http://files.is.tue.mpg.de/mloper/opendr/osmesa/%s' % (osmesa_fname,), dest_fname=zip_fname)
File "utils.py", line 29, in wget
raise Exception('Unable to get url: %s' % (url,))
Exception: Unable to get url: http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Windows.AMD64.zip
I run into the same issue when I tried to install opendr from anaconda promote.
However, I succeed installing opendr under my ubuntu system.
I think the package is not properly set install on windows.
The file
"http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Windows.AMD64.zip"
actually doesn't exist at all if you simply paste it to a browser which is for windows version.
from opendr.
@DenisTome @vladfi1 in setup.py
:
Remove the if statement and unconditionally add _convert_pyx_sources_to_lang
. Disclaimer: I have no idea what other problems this could cause, but it seems to continue to run. :)
This is in Ubuntu 16.04 using Python 2.7.
from opendr.
I am getting this as well using python 2.7 on ubuntu 16.04.
from opendr.
Is there anything that I can do to fix this?
C:\Python27>pip install opendr
Collecting opendr
Using cached opendr-0.76.tar.gz
Complete output from command python setup.py egg_info:
Downloading OSMesa.Windows.AMD64.zip
Traceback (most recent call last):
File "", line 1, in
File "c:\users\jankd1\appdata\local\temp\pip-build-vejziu\opendr\setup.py", line 151, in 1\appdata\local\temp\pip-build-vejziu\opendr\setup.py", line 140, in main
main()
File "c:\users\jankd
download_osmesa()
File "c:\users\jankd~1\appdata\local\temp\pip-build-vejziu\opendr\setup.py", line 43, in download_osmesa
wget('http://files.is.tue.mpg.de/mloper/opendr/osmesa/%s' % (osmesa_fname,), dest_fname=zip_fname)
File "utils.py", line 29, in wget
raise Exception('Unable to get url: %s' % (url,))
Exception: Unable to get url: http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Windows.AMD64.zip
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\jankd~1\appdata\local\temp\pip-build-vejziu\opendr\
from opendr.
@ShuangjunLiu @Jankd Have fixed this problem? I ran into the same problem in Windows10.
from opendr.
Hi, @dalspark
Thanks for your reply.
I installed pip9.0.1, and tested on both python2.7 and python3.6 under Windows 10. But it still goes wrong with the error "
Collecting opendr
Using cached https://files.pythonhosted.org/packages/6f/a3/412768dde943ae483097d68ca51d38ee46cc25a992ecd76f77bed7a67308/opendr-0.76.tar.gz
Complete output from command python setup.py egg_info:
Downloading OSMesa.Windows.AMD64.zip
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\lw\appdata\local\temp\pip-build-5shynm\opendr\setup.py", line 151, in <module>
main()
File "c:\users\lw\appdata\local\temp\pip-build-5shynm\opendr\setup.py", line 140, in main
download_osmesa()
File "c:\users\lw\appdata\local\temp\pip-build-5shynm\opendr\setup.py", line 43, in download_osmesa
wget('http://files.is.tue.mpg.de/mloper/opendr/osmesa/%s' % (osmesa_fname,), dest_fname=zip_fname)
File "utils.py", line 29, in wget
raise Exception('Unable to get url: %s' % (url,))
Exception: Unable to get url: http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Windows.AMD64.zip
Have you successfully installed the library under Windows?
from opendr.
Hi VVingerfly
Did you find any solution to the problem? I've tried a lot of items, but not found any way!!!
Collecting opendr
Using cached https://files.pythonhosted.org/packages/6f/a3/412768dde943ae483097d68ca51d38ee46cc25a992ecd76f77bed7a67308/opendr-0.76.tar.gz
Complete output from command python setup.py egg_info:
Downloading OSMesa.Windows.AMD64.zip
Traceback (most recent call last):
File "", line 1, in
File "c:\users\lw\appdata\local\temp\pip-build-5shynm\opendr\setup.py", line 151, in
main()
File "c:\users\lw\appdata\local\temp\pip-build-5shynm\opendr\setup.py", line 140, in main
download_osmesa()
File "c:\users\lw\appdata\local\temp\pip-build-5shynm\opendr\setup.py", line 43, in download_osmesa
wget('http://files.is.tue.mpg.de/mloper/opendr/osmesa/%s' % (osmesa_fname,), dest_fname=zip_fname)
File "utils.py", line 29, in wget
raise Exception('Unable to get url: %s' % (url,))
Exception: Unable to get url: http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Windows.AMD64.zip
from opendr.
@msepehri Windows is not supported
from opendr.
Hi @msepehri ,
Maybe you can try the modern version from polmorenoc. It works for me on python3 under Windows 10.
from opendr.
I get this error while installing opendr on Ubuntu 16.04 and Python 2.7
Does anyone know what's the problem?
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-GGgQLu/opendr/setup.py';
f=getattr(tokenize, 'open', open)(__file__);
code=f.read().replace('\r\n', '\n');f.close();
exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-DXim8M-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-GGgQLu/opendr/
from opendr.
Greetings,
I get the same error as @Mahanotrahul states above using Python2.7 & pip9.0.1 on a Unix machine.
Is there any chance of help with this? Thanks in advance.
from opendr.
from opendr.
Any solution yet??
from opendr.
@debabadajena https://github.com/polmorenoc/opendr version replaced osmesa with gflw make it works on windows.
But that lib also have error when render:
File "C:\ProgramData\Anaconda3\lib\site-packages\opendr-0.73-py3.9.egg\opendr\renderer.py", line 1080, in on_changed
AttributeError: 'ColoredRenderer' object has no attribute 'vbo_verts_face'
from opendr.
Related Issues (20)
- Multiple Depths at a pixel
- opendr.demo('point_light') produce black image HOT 1
- what's the intrinsic of camera HOT 2
- 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 8
- 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
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.