Ah ok I think I know what the problem is. One second to check and see.
-- Joyce On Mon, Jan 12, 2015 at 7:25 PM, nic pederson <nicpeder...@gmail.com> wrote: > Here is my bash > > Pastebin.com/7ULyyng3 > On Jan 12, 2015 7:12 PM, "Michael Joyce" <jo...@apache.org> wrote: > >> Trying running source ocw/bin/activate from ~/climate/easy-ocw and see if >> that works >> >> >> -- Joyce >> >> On Mon, Jan 12, 2015 at 7:10 PM, nic pederson <nicpeder...@gmail.com> >> wrote: >> >>> "source activate" when in ~/climate/easy-ocw/ocw/bin >>> On Jan 12, 2015 7:05 PM, "Michael Joyce" <jo...@apache.org> wrote: >>> >>>> Hey Nic, >>>> >>>> What command are you using to start the environment? >>>> >>>> >>>> -- Joyce >>>> >>>> On Mon, Jan 12, 2015 at 7:00 PM, nicpeder...@gmail.com < >>>> nicpeder...@gmail.com> wrote: >>>> >>>>> Hi guys, >>>>> >>>>> I was still having trouble, so just did a fresh install of ubuntu. >>>>> Everything went fine until I tried to activate OCW. I get an error that >>>>> says "error: no environment provided" >>>>> >>>>> Thanks again >>>>> >>>>> Nic >>>>> >>>>> Sent from my HTC phone. >>>>> >>>>> ----- Reply message ----- >>>>> From: "Michael Joyce" <jo...@apache.org> >>>>> To: "nic pederson" <nicpeder...@gmail.com> >>>>> Cc: "dev@climate.apache.org" <dev@climate.apache.org>, " >>>>> chris.a.mattm...@nasa.gov" <chris.a.mattm...@nasa.gov> >>>>> Subject: New Student - Caltech-JPL Summer School on Big Data Analytics >>>>> - Need Help Setting up OCW >>>>> Date: Mon, Jan 12, 2015 2:32 PM >>>>> >>>>> You should be able to run "rm -r /home/nic/Learning/climate/anaconda" >>>>> (without quotes and make sure I actually got that directory correct ;) >>>>> >>>>> Then you should be able to run the Anaconda script the same way the >>>>> install-ubuntu.sh script does. Namely: >>>>> bash Anaconda-1.9.2-Linux-x86_64.sh >>>>> >>>>> That .sh file should still be in the easy-ocw folder (assuming you ran >>>>> ./install-ubuntu.sh from /climate/easy-ocw/). When you go through the >>>>> install just make sure you put the directory where you want it instead of >>>>> the default. From above I think you'll want: >>>>> /home/nic/Learning/climate/ >>>>> >>>>> If you get stuck let us know! >>>>> >>>>> >>>>> -- Joyce >>>>> >>>>> On Mon, Jan 12, 2015 at 2:08 PM, nic pederson <nicpeder...@gmail.com> >>>>> wrote: >>>>> >>>>>> Thanks for looking. That's exactly what I did... What as the best way >>>>>> to wipe/reinstall? Im fairly new to Linux and command line in general. >>>>>> >>>>>> Nic >>>>>> On Jan 12, 2015 1:51 PM, "Michael Joyce" <jo...@apache.org> wrote: >>>>>> >>>>>>> Ok after looking around a bit and checking your RC my guess is that >>>>>>> you did something along the lines of: >>>>>>> >>>>>>> Ran install-ubuntu.sh >>>>>>> Decided to move where Anaconda was installed by cp-ing (or >>>>>>> something) it somewhere else >>>>>>> ... >>>>>>> Ended up where we're at >>>>>>> >>>>>>> If that is the case then I think your problem is that you can't move >>>>>>> Anaconda around after the initial install. If you want it in a different >>>>>>> place you'll need to do that at install-time. Check this convo [1] for a >>>>>>> bit more info. Basically just reinstall Anaconda where you want it and >>>>>>> blow >>>>>>> out the old install just to be safe. The install script forces you to >>>>>>> install it in the default location. Patches are more than welcome to fix >>>>>>> this ;) >>>>>>> >>>>>>> If that's not what you did then what did you do. Maybe a bit more >>>>>>> info will get us pointed in the right direction =) >>>>>>> >>>>>>> You can also remove the following line from your RC. This looks like >>>>>>> an input error when running install-ubuntu.sh >>>>>>> >>>>>>> >>>>>>> 1. export >>>>>>> >>>>>>> PYTHONPATH=~Learning/climate/easy-owc/install-ubuntu.sh:~Learning/climate/easy-owc/ >>>>>>> install-ubuntu.sh/ocw >>>>>>> >>>>>>> >>>>>>> >>>>>>> [1] >>>>>>> https://groups.google.com/a/continuum.io/forum/#!msg/anaconda/LcaXE25qElM/VKWYghrjb98J >>>>>>> >>>>>>> >>>>>>> -- Joyce >>>>>>> >>>>>>> On Mon, Jan 12, 2015 at 1:23 PM, nicpeder...@gmail.com < >>>>>>> nicpeder...@gmail.com> wrote: >>>>>>> >>>>>>>> >>>>>>>> .bashrc >>>>>>>> pastebin.com/P4Ux1XJm >>>>>>>> >>>>>>>> >>>>>>>> "conda info" >>>>>>>> >>>>>>>> bash: /home/nic/Learning/climate/anaconda/bin/conda: >>>>>>>> /home/nic/anaconda/bin/python: bad interpreter: no such file or >>>>>>>> directory >>>>>>>> >>>>>>>> Sent from my HTC phone. >>>>>>>> >>>>>>>> ----- Reply message ----- >>>>>>>> From: "Michael Joyce" <jo...@apache.org> >>>>>>>> To: "nic pederson" <nicpeder...@gmail.com> >>>>>>>> Cc: "dev@climate.apache.org" <dev@climate.apache.org>, " >>>>>>>> chris.a.mattm...@nasa.gov" <chris.a.mattm...@nasa.gov> >>>>>>>> Subject: New Student - Caltech-JPL Summer School on Big Data >>>>>>>> Analytics - Need Help Setting up OCW >>>>>>>> Date: Mon, Jan 12, 2015 12:58 PM >>>>>>>> >>>>>>>> Mkay. Can you please post your entire bashrc (pastebin link would >>>>>>>> probably be best) and the output of "conda info"? It doesn't seem to be >>>>>>>> cooperating with regards to where it should look for conda packages. >>>>>>>> I'm >>>>>>>> thinking there's some residual config from a previous install or I'm >>>>>>>> forgetting something really obvious. Worst case we might need to blow >>>>>>>> out >>>>>>>> the entire Anaconda install and redo it (FUN!). Hopefully it's just >>>>>>>> something stupid in a config somewhere we can update. >>>>>>>> >>>>>>>> >>>>>>>> -- Joyce >>>>>>>> >>>>>>>> On Mon, Jan 12, 2015 at 12:51 PM, nic pederson < >>>>>>>> nicpeder...@gmail.com> wrote: >>>>>>>> >>>>>>>>> /home/nic/Learning/climate/anaconda/bin/conda >>>>>>>>> On Jan 12, 2015 12:47 PM, "Michael Joyce" <jo...@apache.org> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Strange. When you run "which conda" what do you see? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- Joyce >>>>>>>>>> >>>>>>>>>> On Mon, Jan 12, 2015 at 12:40 PM, nic pederson < >>>>>>>>>> nicpeder...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> That did it! Except now I cannot activate OWC. When I activate, >>>>>>>>>>> I get a line like: >>>>>>>>>>> >>>>>>>>>>> bash: (correct path)/climate/anaconda/bin/conda: >>>>>>>>>>> /home/nic/anaconda/bin/python: bad interpreter: no such file or >>>>>>>>>>> directory >>>>>>>>>>> >>>>>>>>>>> Thanks again for your help. >>>>>>>>>>> Nic >>>>>>>>>>> On Jan 12, 2015 12:08 PM, "Michael Joyce" <jo...@apache.org> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> No problem Nic, >>>>>>>>>>>> >>>>>>>>>>>> You should have a line in your bashrc similar to the following. >>>>>>>>>>>> >>>>>>>>>>>> export PATH=~/Anaconda/bin:$PATH >>>>>>>>>>>> >>>>>>>>>>>> If you replace the assumed path with the location where >>>>>>>>>>>> Anaconda actually is you should be golden. If that doesn't fix if >>>>>>>>>>>> for you >>>>>>>>>>>> though let us know. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- Joyce >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Jan 12, 2015 at 12:00 PM, nic pederson < >>>>>>>>>>>> nicpeder...@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Thanks guys! That sounds about right. The missing module is >>>>>>>>>>>>> numpy when owc is activated. (It's filenames when it's >>>>>>>>>>>>> deactivated)... >>>>>>>>>>>>> Also, I feel like I may have made a bit of a mess of the file >>>>>>>>>>>>> structure in >>>>>>>>>>>>> trying to move/reinstall Anaconda a couple times. >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks for all your help. >>>>>>>>>>>>> >>>>>>>>>>>>> Nic >>>>>>>>>>>>> On Jan 12, 2015 11:23 AM, "Michael Joyce" <jo...@apache.org> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Nic (and Chris), >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm guessing from your question that you are installing onto >>>>>>>>>>>>>> Ubuntu with the last release of OCW (0.4). You should be fine on >>>>>>>>>>>>>> 14.10, the >>>>>>>>>>>>>> old scripts were only tested on 12.04 so we list that >>>>>>>>>>>>>> explicitly. Of course >>>>>>>>>>>>>> there is still a possibility that you might run into some >>>>>>>>>>>>>> problems. If >>>>>>>>>>>>>> you're pulling off the latest master then the Ubuntu script is >>>>>>>>>>>>>> tested on >>>>>>>>>>>>>> 12.04 and 14.04. What modules are failing for you? If it's >>>>>>>>>>>>>> something like >>>>>>>>>>>>>> numpy/scipy then you probably have an issue with the location of >>>>>>>>>>>>>> the >>>>>>>>>>>>>> Anaconda bin and your path. This could be a result of Anaconda >>>>>>>>>>>>>> being >>>>>>>>>>>>>> installed in a different spot than expected or it could be a bug >>>>>>>>>>>>>> in the >>>>>>>>>>>>>> install scripts. If you're having problems with some OCW modules >>>>>>>>>>>>>> not >>>>>>>>>>>>>> importing then it probably a problem with the PYTHONPATH not >>>>>>>>>>>>>> being set as >>>>>>>>>>>>>> expected. Let us know what problems you're seeing and I'm sure >>>>>>>>>>>>>> we can get >>>>>>>>>>>>>> it sorted quickly. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- Joyce >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Mon, Jan 12, 2015 at 8:10 AM, Mattmann, Chris A (3980) < >>>>>>>>>>>>>> chris.a.mattm...@jpl.nasa.gov> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Nic, thanks for your question and am forwarding to the >>>>>>>>>>>>>>> Apache >>>>>>>>>>>>>>> OCW list for some more help! >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>>> Chris >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>>>>>>>>>>>>> Chris Mattmann, Ph.D. >>>>>>>>>>>>>>> Chief Architect >>>>>>>>>>>>>>> Instrument Software and Science Data Systems Section (398) >>>>>>>>>>>>>>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA >>>>>>>>>>>>>>> Office: 168-519, Mailstop: 168-527 >>>>>>>>>>>>>>> Email: chris.a.mattm...@nasa.gov >>>>>>>>>>>>>>> WWW: http://sunset.usc.edu/~mattmann/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>>>>>>>>>>>>> Adjunct Associate Professor, Computer Science Department >>>>>>>>>>>>>>> University of Southern California, Los Angeles, CA 90089 USA >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>>>>> From: Nic <nicpeder...@gmail.com> >>>>>>>>>>>>>>> Date: Monday, January 12, 2015 at 8:08 AM >>>>>>>>>>>>>>> To: Chris Mattmann <chris.a.mattm...@nasa.gov> >>>>>>>>>>>>>>> Subject: New Student - Caltech-JPL Summer School on Big Data >>>>>>>>>>>>>>> Analytics - >>>>>>>>>>>>>>> Need Help Setting up OCW >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >Hi Chris! >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >I'm really excited for this class, but I'm a little hung up >>>>>>>>>>>>>>> on Day 1 >>>>>>>>>>>>>>> >installations. Long story short, I've setup PyLint and OCW, >>>>>>>>>>>>>>> but OCW >>>>>>>>>>>>>>> >seems to be unable to find some modules. Could this be >>>>>>>>>>>>>>> because I >>>>>>>>>>>>>>> >installed files (i suspect anaconda) in the wrong folders? >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >I'm running Ubuntu 14.10 (Lenovo IdeaPad). I noticed that >>>>>>>>>>>>>>> OCW install >>>>>>>>>>>>>>> >instructions say that I should be running 12.04. I have >>>>>>>>>>>>>>> 14.10 installed. >>>>>>>>>>>>>>> >I'm trying to wipe and restart Ubuntu with 12.04 now, but >>>>>>>>>>>>>>> am having >>>>>>>>>>>>>>> >trouble getting it to boot. Can I run 14.10 with OCW? >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >I've checked the discussion boards and have done a bit of >>>>>>>>>>>>>>> research >>>>>>>>>>>>>>> >already, but not much fruit. >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >Thanks so much and I look forward to hearing from you, >>>>>>>>>>>>>>> >Nic Pederson >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >541.953.1520 >>>>>>>>>>>>>>> >@nicpederson >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>> >>>>> >>>> >>