GNU Parallel 20161222 ('Castro') released

2016-12-22 Thread Ole Tange
GNU Parallel 20161222 ('Castro') has been released. It is available for download at: http://ftpmirror.gnu.org/parallel/ * --results foo.csv will save output as a CSV-file. Can be directly imported into R or LibreCalc. * When using --pipepart a negative --block-size is not interpreted

Re: calling python script from exported bash function, module import fails

2016-12-22 Thread Ole Tange
On Tue, Dec 20, 2016 at 7:16 PM, Benjamin Leutner wrote: > Here is a small example how exporting --env breaks it on the local machine > (running on python 2.7): > > pip2 install tables This breaks on my system. Can you find an example that does not have so many (sub-)dependencies as 'tables'?

Re: calling python script from exported bash function, module import fails

2016-12-22 Thread Benjamin Leutner
It also breaks with 'setuptools' or 'boto'. I also tried with ubuntu deb file installation (apt install python-tables) instead of pip install but that doesn't make a difference. (forgot to mention: I'm on Ubuntu Gnome 16.10 64bit) Some examples for modules which work fine are: 'numpy', 'sys',

Re: calling python script from exported bash function, module import fails

2016-12-22 Thread Ole Tange
On Thu, Dec 22, 2016 at 5:28 PM, Benjamin Leutner wrote: > Here's the modified example: > > function FUN { > echo -e "\n- Try number: ${1} -" > echo "Host: $(hostname), Level: $SHLVL" > python -c " > import setuptools > print 'import succesful'" > } > export -f FUN > > # without env > p