Coder Social home page Coder Social logo

Installation error about opendr HOT 15 OPEN

mattloper avatar mattloper commented on July 23, 2024
Installation error

from opendr.

Comments (15)

dalspark avatar dalspark commented on July 23, 2024 4

@Jankd @VVingerfly you need to use pip verison 9.0.1 to actually install opendr
pip install pip==9.0.1

from opendr.

ShuangjunLiu avatar ShuangjunLiu commented on July 23, 2024 3

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.

chrisranderson avatar chrisranderson commented on July 23, 2024 1

@DenisTome @vladfi1 in setup.py:

image

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.

vladfi1 avatar vladfi1 commented on July 23, 2024

I am getting this as well using python 2.7 on ubuntu 16.04.

from opendr.

Jankd avatar Jankd commented on July 23, 2024

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\jankd
1\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

----------------------------------------

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.

VVingerfly avatar VVingerfly commented on July 23, 2024

@ShuangjunLiu @Jankd Have fixed this problem? I ran into the same problem in Windows10.

from opendr.

VVingerfly avatar VVingerfly commented on July 23, 2024

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.

msepehri avatar msepehri commented on July 23, 2024

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.

thmoa avatar thmoa commented on July 23, 2024

@msepehri Windows is not supported

from opendr.

VVingerfly avatar VVingerfly commented on July 23, 2024

Hi @msepehri ,

Maybe you can try the modern version from polmorenoc. It works for me on python3 under Windows 10.

from opendr.

Mahanotrahul avatar Mahanotrahul commented on July 23, 2024

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.

no-materials avatar no-materials commented on July 23, 2024

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.

ShuangjunLiu avatar ShuangjunLiu commented on July 23, 2024

from opendr.

debabadajena avatar debabadajena commented on July 23, 2024

Any solution yet??

from opendr.

lucasjinreal avatar lucasjinreal commented on July 23, 2024

@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)

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.