-
Notifications
You must be signed in to change notification settings - Fork 3
/
INSTALL
64 lines (36 loc) · 1.29 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PREREQUISITIES
==============
pygsod requires Python, which comes preinstalled on most Unix machines.
You can check to see if you have it installed on a Unix machine by typing Python at a command prompt.
A result like this and you have Python istalled
Python 2.6.6 (r266:84292, Oct 9 2010, 11:40:09)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
This however means that there is any problem
bash: python: command not found
You can download Python from http://www.python.org/download/releases/
INSTALL
========
Download the last stable version from Github
Now decompress the archivie
tar -xzf pygsod.tar.gz
Enter inside the new directory
cd pygsod
Install the library with root permission
su
python setup.py install
on Ubuntu
sudo python setup.py install
Now we can try to load the library so
python
Python 2.6.6 (r266:84292, Oct 9 2010, 11:40:09)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygsod
with this response it is all ok
>>>
instead with this one, you must check the installation
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named downgsod