crigroup / openrave-installation

Bash scripts to install OpenRAVE from source
164 stars 77 forks source link

Numpy should be installed when on 20.04 #18

Open PeterMitrano opened 3 years ago

PeterMitrano commented 3 years ago

Thanks for maintaining these scripts, they're so helpful! One small problem with the 20.04 install though, on a clean system where python2 is not installed, this scripy does not install numpy, and so the configuration step of openrave will fail because the test pybind11 program (which includes numpy) will fail.

I would suggest:

  1. automatically running pip2 install --user numpy
  2. prompting the user to setup alternatives for python2, because otherwise this script will cause python to default to python2, which on 20.04 is probably not what anyone wants. See this blog post for what I mean by "setup alternatives" https://www.fosslinux.com/39384/switching-between-python-2-and-3-versions-on-ubuntu-20-04.htm
nicholasadr commented 3 years ago

Thanks @PeterMitrano for raising this and the suggestions provided. If I understood correctly, the issues that are raised include:

What do you think of this @leonardoedgar? Some of my thoughts:

leonardoedgar commented 3 years ago

Hi @nicholasadr, I briefly tested for the issues mentioned above. The results are as the following: