CentOS 7/Ice 36 prereq installation question
Posted: Tue Aug 30, 2016 7:59 pm
On the page http://www.openmicroscopy.org/site/support/omero5.2/sysadmins/unix/server-centos7-ice36.html#installing-prerequisites at the bottom of the first code box is the command:
What is the value of $0 presumed to be in this context? When I run those commands, $0 is the shell, and in particular evaluates to "-bash" so the above command returns the error:
None of the previous commands returns any error, so I am not sure where requirements.txt is supposed to come from, nor what value $0 is expected to have. Obviously $0 would be the path and filename of a file that lives in the same directory as requirements.txt, but what?
Also,
does not find any file matching that name.
Thanks for any enlightenment!
Jim
- Code: Select all
pip install -r `dirname $0`/requirements.txt
What is the value of $0 presumed to be in this context? When I run those commands, $0 is the shell, and in particular evaluates to "-bash" so the above command returns the error:
- Code: Select all
[root@omero ~]# pip install -r `dirname $0`/requirements.txt
dirname: invalid option -- 'b'
Try 'dirname --help' for more information.
Could not open requirements file: [Errno 2] No such file or directory: '/requirements.txt'
None of the previous commands returns any error, so I am not sure where requirements.txt is supposed to come from, nor what value $0 is expected to have. Obviously $0 would be the path and filename of a file that lives in the same directory as requirements.txt, but what?
Also,
- Code: Select all
find / -name requirements.txt
does not find any file matching that name.
Thanks for any enlightenment!
Jim