Description
I found an incorrect assumption when failing to successfully install OCW via easy-ocw/install-osx.sh
The output message is as follows
lmcgibbn@LMC-032857 /usr/local/climate(master) $ ./easy-ocw/install-osx.sh -e --------------------------------------------------------------------------- Welcome to Easy OCW --------------------------------------------------------------------------- A number of dependencies for OCW will now be installed. Please check the wiki for a complete list of dependencies. Additionally, please read the wiki for useful installation guidelines and information that may be pertinent to your situation. All of this can be found at http://s.apache.org/3p2 Press [ENTER] to begin installation ... Checking for pip ... Setting up a virtualenv ... Checking for previously installed ocw virtual environment... - Creating a new environment in ~/ocw... ./easy-ocw/install-osx.sh: line 161: install_log: Permission denied ./easy-ocw/install-osx.sh: line 162: install_log: Permission denied done Installing conda for package management ... Error: conda appears to be already initalized in: //anaconda Installing dependencies with conda ... Error: cannot open file: ocw-conda-dependencies.txt Installing additional Python packages ***POST INSTALLATION NOTE*** If you are familiar with virtualenv you should know that activating the new 'ocw' environment is different because we use conda to install packages. An example of the command you want to run is listed in the alias below. To make it easier to change into the 'ocw' virtualenv add the following alias to your ~/.bash_profile alias ocw='source ~/ocw/bin/activate ~/ocw/' When you want to use ocw in the future, you just have to type 'ocw' in your terminal.
It is the following code which bothers me
To make it easier to change into the 'ocw' virtualenv add the following alias to your ~/.bash_profile alias ocw='source ~/ocw/bin/activate ~/ocw/'
As per CLIMATE-548 I do not think that we should assume OCW is installed in ~/ocw/
We can discuss how best to address this issue. For the time being it is logged and I will think about a solution myself. Comments welcome.