I need a "installing skyline for dummies"

146 views
Skip to first unread message

Alis

unread,
Sep 21, 2014, 12:30:30 PM9/21/14
to skyli...@googlegroups.com
Dear all,

Although I have expertise in the mathematics for anomaly detection, I have been struggling to install Skyline or to understand how and where it works. I am not a programmer (although I code in C, Matlab and I just started to learn Python), so I am having a hard time to understand nearly everything that I found here


My problems are:

i) I don't get the inside jokes :-(

There are many of them!

ii) what exactly is Skyline?

- I still did not figure if the Skyline is a raw script that I have to download and compile in my computer (where? how?).  Obviously, I couldn't compile or run it (in Mac). So, what exactly is Skyline? 

What I thought Skyline was  (am I right?):
It is a software that I'll double click to open, then a window like this will appear, where I can indicate where my time series are being generated (online) so as to be monitored?


iii) About the installation procedure - now the "for dummies" part begins - feel free to laugh :-)

- For me, the installation procedure is in ancient greek.

sudo pip install -r requirements.txt for the easy bits

- What does it mean? Is "easy bits" a platform or an inside joke? Of course, I googled "easy bits", and the answers were really diverse. Except for "the easy bits",  there is no other reference about where should I type the command 1. shown above. I tried to write it in the terminal of my mac, that is what I obtained:

sudo: pip: command not found

- Yes, I have no idea what is happening and nothing is indicated on the website. Obviously, I have zero idea of how performing the next instruction as well:

Install numpy, scipy, pandas, patsy, statsmodels, msgpack_python in that order.
 
- Right. Nothing worked. But my hopes were not finished, because the installation procedures says that:

You may have trouble with SciPy. If you're on a Mac, try:
  • sudo port install gcc48
  • sudo ln -s /opt/local/bin/gfortran-mp-4.8 /opt/local/bin/gfortran
  • sudo pip install scipy
- And I am on a Mac! So I thought that was the problem. Then, I tried to write down the first command sudo port install gcc48 and

sudo: port: command not found

- Ok, so I tried the next command (but using my folder name) and it seems that it worked (as nothing appeared). However, when I tried sudo pip install scipy, the following message appeared:

sudo: pip: command not found

- Now what?

- The next instruction in the installation procedure is:

On Debian, apt-get works well for Numpy and SciPy. On Centos, yum should do the trick. If not, hit the Googles, yo.

- Seriously, this whole sentence is ancient greek for me. The advanced mathematics of anomaly detection is much easier to understand :-p

- As you might expect I didn't understand the rest of the installation procedure. 


Someone could help me?


Thanks!







Abe Stanway

unread,
Sep 21, 2014, 12:38:02 PM9/21/14
to Alis, skyli...@googlegroups.com
Haha. Thanks for some perspective :) I guess we could do better in making this more accessible to smart people of all stripes, not just software engineers. I'd be happy to help you out with all this, but I do think it's within your grasp. Check it out:

> sudo: pip: command not found
> - Now what?

Google how to install pip!

Install numpy, scipy, pandas, patsy, statsmodels, msgpack_python in that order.
> Right. Nothing worked.

Google how to install numpy, scipy, etc!

sudo pip install -r requirements.txt
This command should be run from the root directory, where you will find the requirements.txt file. You pass that as an argument to pip, which does the job of installing everything in that file for you.

sudo port install gcc48
`port` is invoking MacPorts, which is a mac package manager, which I guess we should not assume is installed.

--
You received this message because you are subscribed to the Google Groups "skyline-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skyline-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Abe Stanway

Abe Stanway

unread,
Sep 21, 2014, 12:39:42 PM9/21/14
to Alis, skyli...@googlegroups.com
(in general, I think most folks would agree that good programmers are more often than not just good Googlers ;))
--
Abe Stanway

Alis

unread,
Sep 21, 2014, 1:06:22 PM9/21/14
to skyli...@googlegroups.com, anta...@gmail.com
Hi,

Thanks a lot for your reply!

Haha, for you to have an idea of my zero understanding about everything, I didn't even know that pip was something to be installed, I thought it was a command like sudo. I would have to google every word in the installation guide haha.
Knowing that pip is something to be installed helped a lot, thanks.

Alis

unread,
Sep 21, 2014, 2:50:58 PM9/21/14
to skyli...@googlegroups.com

Hello Abe,

I installed the required things. But I got the following error message when I entered the command sudo ./horizon.d start

rm: /Users/antamoeba/Documents/skyline-master/bin/../src/horizon/*.pyc: No such file or directory
Traceback (most recent call last):
  File "/Users/antamoeba/Documents/skyline-master/bin/../src/horizon/horizon-agent.py", line 7, in <module>
    from daemon import runner
ImportError: No module named daemon
failed to start horizon-agent

Do you know what went wrong?


I have been trying to install skyline for more than 4 hours now. Is there an easier way to run skyline? 

Abe Stanway

unread,
Sep 21, 2014, 5:37:01 PM9/21/14
to Alis, skyli...@googlegroups.com
ImportError: No module named daemon

Looks like you need to install the python-daemon package. Try `pip install python-daemon` or 'pip install daemon`


--
Abe Stanway
Reply all
Reply to author
Forward
0 new messages