Comments (10)
@runa91, you're likely running it with pip from python 3.* This package only supports python 2.*
from opendr.
I have successfully installed by using 'pip install opendr‘ with python2!!!!
from opendr.
Same problem with Ubuntu 16.04. Any help?
from opendr.
Same problem. Did you solve it?
I am using pip to install with Python 2.7 but I get the following error:
Cython.Compiler.Errors.CompileError: contexts/ctx_mesa.pyx
Command "python setup.py egg_info" failed with error code 1
from opendr.
you can use pip to install opendr, if the problem persists
from opendr.
Same problem with 16.04 when using this git version as above. And with pip I get:
pip install opendr
Collecting opendr
Using cached opendr-0.76.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-r609yikz/opendr/setup.py", line 40
print "Downloading %s" % osmesa_fname
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-r609yikz/opendr/
from opendr.
@SpiritBear000 Can you please paste system information?
from opendr.
@SpiritBear000 Please let us know the information how to solve this problem.
from opendr.
I have successfully installed opendr with python2, but not with pip install opendr
.
take the following steps:
- git clone opendr repo:
git clone https://github.com/mattloper/opendr
- wget download OSMesa to
opendr/contexts
directory:
wget http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Linux.x86_64.zip
- create conda environment with python2.7. (opendr only works for python2.x. I use python3.x in the beginning and it failed)
- install opendr
cd opendr && python setup.py install
After install, copy the opendr directory to site-packages of your anaconda environment directory (such as: anaconda --> envs --> pythonx.x --> lib --> pythonx.x --> site-packages). Otherwise, you will encounter some errors like:
ModuleNotFoundError: No module named 'opendr.contexts.ctx_mesa'
Another error may occur:
No module names '_constraints'
This can be fixed with modifying the line which import _constants.py to absolute path (from opendr.contexts._constants import *) in opendr/contexts/ctx_base.pyx
from opendr.
I have successfully installed opendr with python2, but not with
pip install opendr
.take the following steps:
- git clone opendr repo:
git clone https://github.com/mattloper/opendr
- wget download OSMesa to
opendr/contexts
directory:wget http://files.is.tue.mpg.de/mloper/opendr/osmesa/OSMesa.Linux.x86_64.zip
- create conda environment with python2.7. (opendr only works for python2.x. I use python3.x in the beginning and it failed)
- install opendr
cd opendr && python setup.py install
After install, copy the opendr directory to site-packages of your anaconda environment directory (such as: anaconda --> envs --> pythonx.x --> lib --> pythonx.x --> site-packages). Otherwise, you will encounter some errors like:
ModuleNotFoundError: No module named 'opendr.contexts.ctx_mesa'
Another error may occur:
No module names '_constraints'
This can be fixed with modifying the line which import _constants.py to absolute path (from opendr.contexts._constants import *) in opendr/contexts/ctx_base.pyx
This is the conda list:
# Name Version Build Channel
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
backports-functools-lru-cache 1.6.6 pypi_0 pypi
ca-certificates 2023.08.22 h06a4308_0
certifi 2020.6.20 pyhd3eb1b0_3
chumpy 0.70 pypi_0 pypi
cloudpickle 1.3.0 pypi_0 pypi
cycler 0.10.0 pypi_0 pypi
cython 3.0.5 pypi_0 pypi
decorator 4.4.2 pypi_0 pypi
kiwisolver 1.1.0 pypi_0 pypi
libffi 3.4.4 h6a678d5_0
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libstdcxx-ng 11.2.0 h1234567_1
matplotlib 2.2.5 pypi_0 pypi
ncurses 6.4 h6a678d5_0
networkx 2.2 pypi_0 pypi
numpy 1.16.6 pypi_0 pypi
opencv-python 4.2.0.32 pypi_0 pypi
opendr 0.77 pypi_0 pypi
pillow 6.2.2 pypi_0 pypi
pip 19.3.1 py27_0
pyparsing 2.4.7 pypi_0 pypi
python 2.7.18 h42bf7aa_3
python-dateutil 2.8.2 pypi_0 pypi
pytz 2023.3.post1 pypi_0 pypi
pywavelets 1.0.3 pypi_0 pypi
readline 8.2 h5eee18b_0
scikit-image 0.14.5 pypi_0 pypi
scipy 1.2.3 pypi_0 pypi
setuptools 44.0.0 py27_0
six 1.16.0 pypi_0 pypi
sqlite 3.41.2 h5eee18b_0
subprocess32 3.5.4 pypi_0 pypi
tk 8.6.12 h1ccaba5_0
transforms3d 0.3.1 pypi_0 pypi
wheel 0.37.1 pyhd3eb1b0_0
zlib 1.2.13 h5eee18b_0
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 6
- 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
- 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.