-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatible with Python3? #19
Comments
anyone could reply this? |
There is an updated version of opendr here but this one is not official though. |
I tried installing opendr on python 3 on anaconda using both pip and conda, but failed. Can anyone help me on this? I also tried finding .whl file for opendr, but couldn't. |
@SelvamArul Do you know how we can install that? Thanks in advance |
@AnirudhPuligandla Could you please elaborate on your question? Sorry, I didn't get what you mean by install. It is just a python package. Noting to install there. |
@SelvamArul Sorry for the vague question! Actually I am testing some code that uses opendr to display images and a 3D mesh. So, i have this modern opendr package in my PYTHONPATH with the other requirements installed. But, i am not sure if this package can readily replace opendr (in terms of fucntions to open a window, display etc.) as i still encounter the same error "no module named opendr". I am using python3.5 I hope that is clear. Thanks |
@AnirudhPuligandla What is the exact path you have in your PYTHONPATH? I will share my setting as an example. Maybe you can spot any differences to yours.
Hope this helps. |
@SelvamArul To clarify, have you gotten it working in python3? Also, did you manage to do everything with PYTHONPATH? I'm not sure how python3 absolute imports works under the hood, nor how pip and conda do |
ya, this fork is python3 compatible. I have forked it further to make to compatible with latest versions of NumPy and Scipy, and few other bug fixes related to wrong dimension specification while reading out the rendered images from OpenGL. You can find my fork here. Regrading the PYTHONPATH, I didn't get your question. Could you please describe your issue in detail? |
I used your fork and met this error: |
@willie1997 have you managed to solve this issue? |
I was finally able to install OpenDR through PIP on Python 3.7 in a conda environment. What worked like magic for me was installing libosmesa6-dev:
Hope this helps! |
@salmedina are you working under linux/windows? |
@erezposner This was on Ubuntu 18.04.3 LTS |
Maybe you can try the modern version from polmorenoc. |
@salmedina Following your description, it perfectly works on my ubuntu-18.04 LTS too! Just instead, since conda doesn't have their chumpy cloud, try pip install chumpy |
conda install chumpy ------wrong |
This solution works for virtual env python3.10 too |
I was finally able to install OpenDR after upgrade Cpython |
I was using Python3 and tried to install OpenDR via pip. But I failed and found opendr now seems only compatible with Python 2? So can I know is there any plan to move opendr forward to Python 3? And is there any way I can overcome this currently?
The text was updated successfully, but these errors were encountered: