opendr-eu / opendr

A modular, open and non-proprietary toolkit for core robotic functionalities by harnessing deep learning
Apache License 2.0
614 stars 95 forks source link

missing unzip dependency for install script #453

Closed thomaspeyrucain closed 1 year ago

thomaspeyrucain commented 1 year ago

If unzip is not installed the installation script fails with this error:

Torch version not defined, version 1.9.0 will be installed.
For a specific Torch version please define TORCH_VERSION with 'export TORCH_VERSION=x.x.x'
Downloading and installing LibTorch and torchvision (cpu-only) ...
Downloading LibTorch and torchvision ...
Downloading Libtorch and torchvision done.
./install_torch_c_api.sh: line 37: unzip: command not found
./install_torch_c_api.sh: line 38: cd: libtorch: No such file or directory
tar (child): vision.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat 'vision-*': No such file or directory
./install_torch_c_api.sh: line 47: cd: vision: No such file or directory
CMake Error: The source directory "/home/user/exchange/opendr" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
make[1]: *** No rule to make target 'desktop'.  Stop.
make: *** [Makefile:42: install_compilation_dependencies] Error 2
tsampazk commented 1 year ago

Hey @thomaspeyrucain, thanks for reporting this. Could you provide some additional information?

thomaspeyrucain commented 1 year ago

Hello @tsampazk ,

tsampazk commented 1 year ago

Thanks! It seems that most systems that we use have unzip pre-installed. I think we can install unzip along other base ubuntu dependencies, which should do the trick.